APIKO
Video Series

Seedance 2.5 Face API

  • Accepts references that show a real person (photos and videos of people), which the other Seedance models refuse. Same per-second prices as Seedance 2.5.
  • Text-to-video and video from mixed references: send only prompt, or add reference images, videos and audio. First/last-frame input is not offered on this model.
  • Reference audio may be the only reference: reference_audios without reference images or videos is accepted.
  • Refer to references in the prompt as @Image1, @Video1, @Audio1 (numbered from 1 in array order; images, videos and audio are numbered separately).
  • Videos of 4 to 30 seconds at 480p, 720p or 1080p, with a synchronized soundtrack unless generate_audio is false.
  • Asynchronous: POST /v1/videos returns a task id; poll GET /v1/videos/{id} or GET /v1/tasks/{id} until the task completes, then download /v1/videos/{id}/content.
  • Result links are APIKO-signed and kept for 24 hours; download anything you need to keep.
  • Billing
    • Charged per second at the price of the chosen resolution; prices are on the model page.
    • With reference videos (480p and 720p only, 15 seconds in total), billed seconds = output duration + reference video length, all at the chosen resolution's per-second price.
    • Reference images and reference audio are not billed separately.
    • With reference videos, the hold taken when the task is accepted adds 15 seconds (the longest total reference length) to the output duration; the difference is refunded when the task settles.
    • An estimate is held when the task is accepted and settled to the actual usage when it finishes; a task that fails is refunded in full.
POST
/
v1
/
videos
TASK_ID=$(curl https://api.apiko.app/v1/videos \
  -H "Authorization: Bearer $APIKO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "seedance-2.5-face",
  "duration": 5,
  "resolution": "720p",
  "aspect_ratio": "16:9",
  "prompt": "A paper boat drifting across a calm lake at sunrise, slow push-in, soft water sounds."
}' | python3 -c 'import json,sys; print(json.load(sys.stdin)["id"])')

while :; do
  TASK=$(curl -s https://api.apiko.app/v1/videos/$TASK_ID \
    -H "Authorization: Bearer $APIKO_API_KEY")
  printf '%s\n' "$TASK"
  printf '%s' "$TASK" | grep -qE '"status": *"(completed|failed)"|"error": *\{' && break
  sleep 5
done
{
  "id": "task_abc123",
  "object": "video",
  "model": "seedance-2.5-face",
  "status": "completed",
  "progress": 100,
  "video_url": "https://api.apiko.app/v1/tasks/task_abc123/artifacts/video/content?access=…"
}

Authorizations

Authorization
stringrequired
All requests use Bearer authentication: Authorization: Bearer <API_KEY>.
Create a key in Console → API Keys.
Routes
string
  • POST /v1/videos — create a video task
  • GET /v1/videos/{id} — query the task and read video_url
  • GET /v1/tasks/{id} — query the same task in the shared task format

Body

application/json
model
stringdefault:seedance-2.5-facerequired
Use this exact public model id.
Available options: seedance-2.5-face
Example:"seedance-2.5-face"
prompt
stringrequired
Video description; refer to references as @Image1, @Video1, @Audio1 in list order.
  • Chinese and English are supported. Up to 20,000 characters; a longer prompt is rejected with HTTP 400 before any charge.
  • Describe the shot, camera movement and sound; refer to references as @Image1, @Video1, @Audio1.
Minimum length: 1
Maximum length: 20000
Example:"A paper boat drifting across a calm lake at sunrise"
aspect_ratio
enum<string>default:16:9
Width-to-height ratio of the output video.
16:9 landscape, 9:16 portrait or 1:1 square; 16:9 when omitted. Other ratios are rejected before any charge.
Available options: 16:9, 9:16, 1:1
Example:"16:9"
resolution
enum<string>default:720p
Output resolution of the video. Values are matched case-insensitively.
  • 480p is the lowest price, 720p the default, 1080p the sharpest; other values are rejected before any charge.
  • Each resolution has its own per-second price; see the model page.
Available options: 480p, 720p, 1080p
Example:"720p"
duration
integerdefault:5
Output length in seconds; OpenAI's seconds field is accepted instead.
  • Length of the output video in seconds: any integer from 4 to 30; 5 when omitted.
  • seconds (a string such as "10", as in the OpenAI video API) is accepted as an alias; send one of the two.
Range: 4 ≤ x ≤ 30
Example:5
generate_audio
booleandefault:true
Generate a synchronized soundtrack.
Defaults to true: a soundtrack (ambience, effects or dialogue) synchronized with the picture. The price is the same either way.
Example:true
reference_image_urls
string<uri>[]
Reference images.
  • Up to 30 images. The order is @Image1, @Image2, …
  • Public HTTPS URLs only; files and base64 are not accepted.
Items: 1–30
Example:["https://example.com/reference.png"]
reference_videos
string<uri>[]
Reference videos, at most 15 s each and in total, at 480p and 720p only; their length is billed at the output rate. Submission holds 15 s more than the output and refunds the difference on completion.
  • Up to 10 clips, 15 seconds each and in total, at 480p or 720p (refused at 1080p before any charge). The order is @Video1, @Video2, …
  • Billed as input: their length is added to the billed seconds at the output resolution's price.
  • Public HTTPS URLs only; files and base64 are not accepted.
Items: 1–10
Example:["https://example.com/reference.mp4"]
reference_audios
string<uri>[]
Reference audio clips, 2-30 s each and 30 s in total; may be sent without images or videos.
  • Up to 10 clips; not billed separately. The order is @Audio1, @Audio2, …
  • Public HTTPS URLs only; files and base64 are not accepted.
Items: 1–10
Example:["https://example.com/reference.mp3"]
callback_url
string<uri>
Optional public HTTPS URL notified when the task finishes.
  • When the task finishes, APIKO POSTs the same JSON as GET /v1/tasks/{id} with header X-Apiko-Task-Id, retrying up to 3 times.
  • Callbacks are not signed: re-fetch the task to confirm the result.
Example:"https://your-domain.com/webhooks/apiko-task"

Response

200 - application/json

Charged when the request is accepted; a task that ends in failed is refunded in full.

id
string
Video task id. Query it with GET /v1/videos/{id} or GET /v1/tasks/{id}.
Example:"task_abc123"
status
enum<string>
Task status. Poll every 5–10 seconds until it is completed or failed.
Available options: queued, in_progress, completed, failed
progress
integer
Progress from 0 to 100.
video_url
string<uri>
Present on GET /v1/videos/{id} when the task is completed: an APIKO-signed link kept for 24 hours. GET /v1/tasks/{id} returns the same link as data[0].url.

Errors

application/json

Errors use the shape { "error": { "message", "type", "param", "code" } }; most messages end with a request id to quote when you contact support.

400
error
Invalid request. Fix the request instead of retrying it; it is not charged.
  • A field this page does not list, e.g. seed is not supported.
  • A value outside the listed options or range, e.g. duration must be an integer from ….
  • A missing or empty prompt (prompt is required).
  • A reference URL that is not public HTTPS (… must be a public HTTPS URL).
401
error
Missing or invalid API key (Invalid token).
403
error
Insufficient balance (code: "insufficient_user_quota"). Add credit in Console → Billing.
404
error
GET /v1/videos/{id} or GET /v1/tasks/{id} for a task that does not exist or belongs to another account (Task not found).
503
error
The model exists but none of its routes can take the request right now: No available channel for model … (code: "model_not_found"). Retry later with backoff, or pick another model. A missing or misspelled model returns 404 with the same message; check the id instead of retrying.