PicVidPicVid Guide
API

Video tools

Every /videos endpoint - what it does, the fields it takes and what it costs.

Videos usually take 1-5 minutes. Start the job, then check it every 5-10 seconds (see Jobs, tools and usage). model works as for image tools; the account's plan sets the highest resolution.

Price of a video = duration_seconds × the model's credits_per_second × each chosen price_factors value (resolution, audio), rounded up. GET /tools lists them; the job's credits is the exact figure.

POST /videos/generate

Creates a video from a description. Like Text to Video. Cost: from 247 credits per second.

Field
promptrequiredThe scene
duration_secondsrequiredOne of the model's durations
aspect_ratiorequiredOne of the model's aspect_ratios, e.g. 16:9
modelA model of this tool
resolutionOne of the model's resolutions
audiotrue / false, for models whose audio is optional
negative_promptWhat to avoid, for models that take it
styleA style key from GET /tools

POST /videos/from-image

Animates a photo. Like Image to Video. Cost: from 247 credits per second.

Field
image_upload_idrequiredThe photo the video starts from
duration_secondsrequiredOne of the model's durations
promptThe motion, e.g. the camera slowly moves closer
modelA model of this tool
aspect_ratioOne of the model's aspect_ratios; leave out to keep the photo's shape
resolutionOne of the model's resolutions
audioFor models whose audio is optional
negative_promptFor models that take it

POST /videos/face-swap

Puts a face into a video, keeping its sound. Like Face Swap Video. Cost: 500 credits per second of the part swapped.

Field
face_upload_idrequiredA clear photo of the face
video_upload_idrequiredThe video
start_seconds, end_secondsrequiredThe part to swap, 1 to 600 seconds long
consent_confirmedrequiredtrue

POST /videos/talking-photo

Makes a portrait speak a voice recording, lips in sync. Like Talking Photo. Cost: 1,405 credits per second.

Field
image_upload_idrequiredA photo of a face
audio_upload_idrequiredThe voice recording (an audio upload)
start_seconds, end_secondsrequiredThe part of the recording to speak, up to 60 seconds
consent_confirmedrequiredtrue
promptThe scene and movement
resolutionOne of the tool's resolutions
Still need help? Contact support