메인 콘텐츠로 건너뛰기
POST
/
video
/
queue
/api/v1/video/queue
curl --request POST \
  --url https://api.venice.ai/api/v1/video/queue \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "seedance-2-0-text-to-video",
  "prompt": "Commerce being conducted in the city of Venice, Italy.",
  "duration": "10s",
  "consents": {},
  "negative_prompt": "low resolution, error, worst quality, low quality, defects",
  "aspect_ratio": "16:9",
  "resolution": "720p",
  "upscale_factor": 2,
  "audio": true,
  "image_url": "data:image/png;base64,iVBORw0K...",
  "end_image_url": "data:image/png;base64,iVBORw0K...",
  "audio_url": "data:audio/mpeg;base64,SUQzBAA...",
  "video_url": "data:video/mp4;base64,AAAAFGZ0eXA...",
  "reference_image_urls": [
    "data:image/png;base64,iVBORw0K..."
  ],
  "reference_video_urls": [
    "https://example.com/reference-clip.mp4"
  ],
  "reference_audio_urls": [
    "data:audio/mpeg;base64,SUQzBAAAAAA..."
  ],
  "elements": [
    {
      "frontal_image_url": "data:image/png;base64,iVBORw0K...",
      "reference_image_urls": [
        "data:image/png;base64,iVBORw0K..."
      ]
    }
  ],
  "scene_image_urls": [
    "data:image/png;base64,iVBORw0K..."
  ]
}
'
{
  "model": "video-model-123",
  "queue_id": "123e4567-e89b-12d3-a456-426614174000",
  "download_url": "<string>"
}
/video/quote를 호출하여 가격 견적을 받은 다음, 완료될 때까지 반환된 queue_id/video/retrieve를 폴링하세요. 비공개 모델은 완성된 비디오를 위한 download_url도 반환합니다. 이는 수명이 짧은 전달 URL입니다(다운로드가 끊겨도 몇 번의 재시도는 괜찮습니다). 자세한 내용과 개인정보 보호를 위한 선택적 DELETE비디오 생성 가이드를 참조하세요.

Seedance 2.0

seedance-2-0-* 모델(text-to-video, image-to-video, reference-to-video 및 -fast-* 변형)의 경우, 네 가지 워크플로 모델(Reference / Edit / Extend / Stitch), 표준 프롬프트 패턴, 멀티모달 입력 제한 및 가격 세부 정보는 Seedance 2.0 가이드를 참조하세요.

Seedance 동의

Seedance image- 또는 reference-to-video 요청에 사람의 얼굴이 포함된 경우, API는 정책 텍스트와 함께 409 needs_consent를 반환하며, consents.seedance 증명과 함께 동일한 요청을 다시 제출합니다. 전체 흐름, 동의 객체, 중복 제거 및 철회에 대해서는 Seedance 얼굴 미디어 동의 가이드를 참조하세요.

비디오 업스케일링

topaz-video-upscale 모델의 경우, resolution 대신 upscale_factor(1, 2 또는 4)를 사용하고 video_url을 제공하세요. 길이와 FPS는 비디오 파일에서 자동으로 감지됩니다. 전체 세부 정보와 예제는 비디오 업스케일링 가이드를 참조하세요.

인증

Authorization
string
header
필수

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

본문

application/json

Request body for video generation. Available fields and valid values vary by model.

model
string
필수

The model to use for video generation.

예시:

"seedance-2-0-text-to-video"

prompt
string
필수

The prompt to use for video generation. Required for most models. The maximum length varies by model (default 2500 characters, up to 10000 for some models such as Seedance 2.0).

Required string length: 1 - 10000
예시:

"Commerce being conducted in the city of Venice, Italy."

duration
enum<string>
필수

The duration of the video to generate. Available options vary by model.

사용 가능한 옵션:
2s,
3s,
4s,
5s,
6s,
7s,
8s,
9s,
10s,
11s,
12s,
13s,
14s,
15s,
16s,
18s,
20s,
25s,
30s,
1 gen,
Auto
예시:

"10s"

consents
object

Optional provider-specific consent attestations. Seedance consent is required only when submitted media contains faces.

negative_prompt
string

Optional negative prompt. The maximum length varies by model (default 2500 characters, up to 10000 for some models).

Maximum string length: 10000
예시:

"low resolution, error, worst quality, low quality, defects"

aspect_ratio
enum<string>

The aspect ratio of the video. Available options vary by model. Some models do not support aspect_ratio.

사용 가능한 옵션:
1:1,
2:3,
3:2,
3:4,
4:3,
9:16,
16:9,
21:9
예시:

"16:9"

resolution
enum<string>

The resolution of the video. Available options vary by model. Some models do not support resolution. Use upscale_factor for upscale models.

사용 가능한 옵션:
256p,
360p,
480p,
540p,
580p,
720p,
1080p,
1440p,
2160p,
4k,
2x,
4x,
true_1080p
예시:

"720p"

upscale_factor
enum<integer>
기본값:2

For upscale models only. 1 = quality enhancement, 2 = double resolution (default), 4 = quadruple.

사용 가능한 옵션:
1,
2,
4
예시:

2

audio
boolean
기본값:true

For models which support audio generation and configuration. Defaults to true.

예시:

true

image_url
string

For image-to-video models, the reference image. Must be a URL (http/https) or a data URL (data:image/...).

예시:

"data:image/png;base64,iVBORw0K..."

end_image_url
string

For models that support end images or transitions, the end frame image. Must be a URL or data URL.

예시:

"data:image/png;base64,iVBORw0K..."

audio_url
string

For models that support audio input, background music. Must be a URL or data URL. Supported: WAV, MP3. Max: 30s, 15MB.

예시:

"data:audio/mpeg;base64,SUQzBAA..."

video_url
string

For models that support video input (video-to-video, upscale). Must be a URL or data URL. Supported: MP4, MOV, WebM.

예시:

"data:video/mp4;base64,AAAAFGZ0eXA..."

reference_image_urls
string[]

For models with reference image support, up to 9 images for character/style consistency. Each must be a URL or data URL.

Maximum array length: 9
예시:
["data:image/png;base64,iVBORw0K..."]
reference_video_urls
string[]

For models with reference video support (e.g. Seedance 2.0 R2V), up to 3 reference video URLs (role: "reference_video") used to inherit subject motion, camera movement, and overall style. Per-clip 2–15 s, .mp4 or .mov, ≤50 MB; aggregate duration ≤15 s. Each must be a URL or data URL.

Maximum array length: 3
예시:
["https://example.com/reference-clip.mp4"]
reference_audio_urls
string[]

For models with reference audio support (e.g. Seedance 2.0 R2V), up to 3 reference audio URLs (role: "reference_audio") used as donors for vocal timbre, narration, or sound effects. Per-clip 2–15 s, .wav or .mp3; aggregate duration ≤15 s. Must be paired with at least one reference image or reference video — audio-only Reference workflows are rejected at validation. Each must be a URL or data URL.

Maximum array length: 3
예시:
["data:audio/mpeg;base64,SUQzBAAAAAA..."]
elements
object[]

For models with advanced element support (e.g., Kling O3 R2V). Up to 4 elements defining characters/objects. Reference in prompt as @Element1, @Element2, etc.

Maximum array length: 4
예시:
[
{
"frontal_image_url": "data:image/png;base64,iVBORw0K...",
"reference_image_urls": ["data:image/png;base64,iVBORw0K..."]
}
]
scene_image_urls
string[]

For models with advanced element support. Up to 4 scene reference images. Reference in prompt as @Image1, @Image2, etc.

Maximum array length: 4
예시:
["data:image/png;base64,iVBORw0K..."]

응답

Video generation request queued successfully

model
string
필수

The ID of the model used for video generation.

예시:

"video-model-123"

queue_id
string
필수

The ID of the video generation request.

예시:

"123e4567-e89b-12d3-a456-426614174000"

download_url
string

Pre-signed URL to download the completed video. Only present for VPS-backed models. When provided, the retrieve endpoint returns JSON status only (no video stream). Fetch this URL after status is COMPLETED to get the video/mp4 file. Valid for 24 hours.