Generation

Create an asynchronous Seedance video task

Reserves the full per-second Stable price ceiling before native submission. Returns an Infer-owned task id. A five-minute maintenance reconciler polls terminal state even if the client never does. No automatic paid retry is performed.

post/v1/videos

Request

  • Base URL: https://infer.flow7.org
  • URL: https://infer.flow7.org/v1/videos
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Stable retry key scoped to the organization. Strongly recommended for any paid generation submission. Ambiguous post-dispatch outcomes are never automatically retried.

Request body

modelstring required

seedance-2.0 / seedance-2.5, optionally using infer/<model>:stable.

promptstring required
durationinteger required

Generated seconds. Seedance 2.0 is capped at 15 seconds; 2.5 at 30 seconds.

secondsinteger

Alias for duration.

resolution'480p' | '720p' required
imagestring uri

Optional public HTTPS reference image for image-to-video.

idempotency_keystring

Response

Video task accepted

idstring required

Infer-owned task id.

task_idstring required

Same Infer-owned task id; upstream task ids remain private.

object'video' required
modelstring required
status'queued' | 'pending' | 'processing' | 'in_progress' | 'completed' | 'failed' required
progressunknown

Changes

No recorded changes to this operation across all 1 revision of this API.