Image-to-Video V2 / Text-to-Video / Omni Reference API Usage

Common Conventions

  • All interfaces require request headers Authorization: Bearer <apiKey> and Topview-Uid: <userId>
  • Successful response unified structure: { "code": "200", "message": "Success", "result": { ... } }
  • After task submission, returns taskId. Frontend polls the query interface to get results

Deprecation Notice: The model display name "Topview Omni" is deprecated and no longer accepted. Please use "Gemini Omni Flash" instead (Image-to-Video, Text-to-Video, and Omni Reference). Requests with the old name will be rejected with: Topview Omni is expired, please use Gemini Omni Flash model.


I. Image-to-Video V2

POST /v2/common_task/image2video/task/submit

Request Headers

ParameterTypeRequiredDescription
Topview-UidstringYesUser ID

Request Body (JSON)

ParameterTypeRequiredDescription
modelstringNoModel display name, e.g., "Seedance 1.5 pro", see supported models table below
firstFrameFileIdstringNoFile ID of the first frame image
endFrameFileIdstringNoFile ID of the last frame image
referenceImageFileIdsstring[]NoList of reference image IDs in multi-image mode (see model-specific min/max limits)
promptstringNoPrompt text
aspectRatiostringNoAspect ratio, e.g., "16:9", "9:16"
resolutionintegerNoResolution, 720 or 1080
durationintegerNoVideo duration in seconds
soundstringNoWhether to include sound effects, "on" or "off", default "off"
generatingCountintegerNoNumber of videos to generate, default 1
boardIdstringNoBoard ID. When provided, a task record will be created in the Board
noticeUrlstringNoCallback URL to receive a notification when the task reaches a final state. When provided, the submit response includes noticeUuid

Supported Models and Parameter Constraints

Note: The model parameter should use the model display name (e.g., "Seedance 1.5 pro"), not the code.

Model NameImage Input ModeAspect Ratio Options (aspectRatio)Resolution (resolution)Duration (duration)Native AudioRemarks
Standard(SD 2.0)First & Last FrameDetermined by image480, 720, 1080, 2160(4K)4–15 secondsFirst and last frames must have same aspect ratio; supports internet search
Fast(SD 2.0 Fast)First & Last FrameDetermined by image480, 7204–15 secondsFirst and last frames must have same aspect ratio; supports internet search
Seedance 2.0 MiniFirst & Last FrameDetermined by image480, 7204–15 secondsFirst and last frames must have same aspect ratio; supports internet search
Seedance 1.5 proFirst & Last FrameDetermined by image720, 10804–12 seconds
Seedance 1.0 Pro FastSingle ImageDetermined by image720, 10805, 10, 12 seconds
Seedance 1.0 ProFirst & Last FrameDetermined by image720, 10805, 10, 12 seconds
Kling V3First & Last FrameDetermined by image720, 10803–15 secondsSupports multi-shot (up to 6 shots, total ≤15s); image short side ≥300px
Kling 3.0 TurboSingle ImageDetermined by image720, 10803–15 secondsSupports multi-shot (up to 6 shots, total ≤15s)
Kling O3First & Last FrameDetermined by image720, 10803–15 secondsSupports multi-shot (up to 6 shots, total ≤15s); image short side ≥300px
Kling O3 Reference-to-VideoMulti-Image (Reference, max 7)9:16, 1:1, 16:9720, 10803–15 secondsSupports @mention reference images; supports multi-shot
Kling 2.6Single ImageDetermined by imageN/A5, 10 seconds
Kling O1 Reference-to-VideoOptional Multi-Image (0–7)9:16, 1:1, 16:910803–10 secondsSupports @mention reference images; referenceImageFileIds can be empty
Kling 2.5 Turbo ProFirst & Last FrameDetermined by image10805, 10 seconds
Kling 2.5 Turbo StdSingle ImageDetermined by image10805, 10 seconds
Veo 3.1First & Last Frame9:16, 16:9720, 1080, 2160(4K)4, 6, 8 seconds (2160(4K)p only 8s)
Veo 3.1 Reference to videoMulti-Image (Reference, max 3)9:16, 16:9720, 1080, 2160(4K)8 seconds
Veo 3.1 FastFirst & Last Frame9:16, 16:9720, 1080, 2160(4K)4, 6, 8 seconds (2160(4K)p only 8s)
Veo 3.1 Fast Reference to videoMulti-Image (Reference, max 3)9:16, 16:9720, 1080, 2160(4K)8 seconds
Gemini Omni FlashOptional Multi-Image (0~3)9:16, 16:9720, 1080, 2160(4K)4, 6, 8, 10 secondsreferenceImageFileIds can be empty; max 3 images
MiniMax-Hailuo-02First & Last FrameDetermined by image768, 10806, 10 seconds (1080p only 6s)
MiniMax-Hailuo-2.3Single ImageDetermined by image768, 10806, 10 seconds (1080p only 6s)
MiniMax-Hailuo-2.3-FastSingle ImageDetermined by image768, 10806, 10 seconds (1080p only 6s)
Vidu Q3 ProFirst & Last Frame9:16, 3:4, 1:1, 4:3, 16:9540, 720, 10801–16 secondsLast frame optional
Vidu Q2 Reference to VideoMulti-Image (Reference, max 7)9:16, 3:4, 1:1, 4:3, 16:910802–10 seconds
Wan 2.6Single ImageDetermined by image720, 10805, 10, 15 seconds
Grok VideoSingle Image9:16, 3:4, 2:3, 1:1, 4:3, 3:2, 16:9480, 7201–15 seconds
Grok Video 1.5Single Image9:16, 3:4, 2:3, 1:1, 4:3, 3:2, 16:9480, 7201–15 seconds
Grok Video 1.5 PreviewSingle Image9:16, 3:4, 2:3, 1:1, 4:3, 3:2, 16:9480, 7201–15 seconds
Grok Reference to VideoMulti-Image (Reference, 2~7)9:16, 3:4, 2:3, 1:1, 4:3, 3:2, 16:9480, 7201–10 secondsSupports 2~7 reference images
Happy Horse 1.0Single ImageDetermined by image720, 10803–15 seconds
Happy Horse 1.1Single ImageDetermined by image720, 10803–15 seconds
Happy Horse 1.0 Reference to VideoMulti-Image (Reference, 2~9)9:16, 3:4, 1:1, 4:3, 16:9720, 10803–15 secondsSupports 2~9 reference images
Happy Horse 1.1 Reference to VideoMulti-Image (Reference, 2~9)9:16, 3:4, 1:1, 4:3, 16:9720, 10803–15 secondsSupports 2~9 reference images
Wan 2.7First & Last FrameDetermined by image720, 10802–15 secondsAudio upload not supported in API v1
Wan 2.7 Reference to VideoMulti-Image (Reference, 2~5)9:16, 3:4, 1:1, 4:3, 16:9720, 10802–15 secondsAudio upload not supported in API v1
Topview ProSingle Image9:16, 3:4, 1:1, 4:3, 16:9N/A5, 10 seconds
Topview PlusSingle Image9:16, 1:1, 16:9N/A5, 10 seconds
Topview BestSingle Image9:16, 1:1, 16:9N/A5, 10 seconds
  • Image input mode description:
    • Single Image: Only firstFrameFileId takes effect
    • First & Last Frame: firstFrameFileId (first frame) is required; endFrameFileId (last frame) is optional
    • Multi-Image (Reference): Pass reference image list via referenceImageFileIds
    • Optional Multi-Image: referenceImageFileIds can be omitted, or pass model-supported image count
  • sound: "on" or "off", default "off"; models supporting Native Audio can generate native audio when enabled
  • generatingCount: 1–4, default 1

Request Example

POST /v2/common_task/image2video/task/submit
Topview-Uid: user_123

{
  "model": "Seedance 1.5 pro",
  "firstFrameFileId": "file_abc123",
  "prompt": "A product slowly rotating on a clean white background, cinematic lighting",
  "aspectRatio": "16:9",
  "resolution": 1080,
  "duration": 5,
  "sound": "off",
  "generatingCount": 2
}

Response Example

{
  "code": "200",
  "message": "Success",
  "result": {
    "taskId": "task_i2v_v2_20250529001",
    "status": "init",
    "boardTaskIds": null,
    "boardId": null,
    "noticeUuid": "uuid_abc"
  }
}

GET /v2/common_task/image2video/task/query

Request Parameters

ParameterTypeRequiredDescription
taskIdstringYesTask ID returned from submission
needCloudFrontUrlbooleanNoWhether to return CloudFront URL, default false

Request Example

GET /v2/common_task/image2video/task/query?taskId=task_i2v_v2_20250529001
Topview-Uid: user_123

Response Example (In Progress)

{
  "code": "200",
  "message": "Success",
  "result": {
    "taskId": "task_i2v_v2_20250529001",
    "status": "running",
    "errorMsg": null,
    "costCredit": "0.00",
    "videos": []
  }
}

Response Example (Success)

{
  "code": "200",
  "message": "Success",
  "result": {
    "taskId": "task_i2v_v2_20250529001",
    "status": "success",
    "errorMsg": null,
    "costCredit": "5.00",
    "videos": [
      {
        "status": "success",
        "errorMsg": null,
        "fileId": "file_video_001",
        "filePath": "https://cdn.example.com/videos/output_001.mp4",
        "width": 1920,
        "height": 1080,
        "duration": 5000,
        "coverPath": "https://cdn.example.com/covers/cover_001.jpg",
        "boardTaskId": null
      },
      {
        "status": "success",
        "errorMsg": null,
        "fileId": "file_video_002",
        "filePath": "https://cdn.example.com/videos/output_002.mp4",
        "width": 1920,
        "height": 1080,
        "duration": 5000,
        "coverPath": "https://cdn.example.com/covers/cover_002.jpg",
        "boardTaskId": null
      }
    ]
  }
}

II. Text-to-Video

POST /v1/common_task/text2video/task/submit

Request Headers

ParameterTypeRequiredDescription
Topview-UidstringYesUser ID

Request Body (JSON)

ParameterTypeRequiredDescription
modelstringYesModel name, e.g., "Seedance 1.5 pro", "Kling V3", "Gemini Omni Flash", "Wan 2.7"
promptstringYesPositive prompt text
aspectRatiostringNoAspect ratio, e.g., "16:9", "9:16", "1:1"
resolutionintegerNoResolution, 720 or 1080
durationintegerNoVideo duration in seconds
soundstringNoWhether to include sound effects, "on" or "off"
generatingCountintegerNoNumber of generations, 1~4
boardIdstringNoBoard ID. When provided, a task record will be created in the Board
noticeUrlstringNoCallback URL to receive a notification when the task reaches a final state. When provided, the submit response includes noticeUuid

Supported Models and Parameter Constraints

Note: The model parameter should use the model display name (e.g., "Seedance 1.5 pro"), not the code.

Model NameAspect Ratio Options (aspectRatio)Resolution (resolution)Duration (duration)Native AudioRemarks
Standard(SD 2.0)First & Last FrameDetermined by image480, 720, 1080, 2160(4K)4–15 secondsFirst and last frames must have same aspect ratio; supports internet search
Fast(SD 2.0 Fast)First & Last FrameDetermined by image480, 7204–15 secondsFirst and last frames must have same aspect ratio; supports internet search
Seedance 2.0 Mini9:16, 3:4, 1:1, 4:3, 16:9, 21:9480, 7204–15 seconds
Seedance 1.5 pro9:16, 3:4, 1:1, 4:3, 16:9720, 10804–12 seconds
Seedance 1.0 Pro Fast9:16, 3:4, 1:1, 4:3, 16:9720, 10805, 10, 12 seconds
Seedance 1.0 Pro9:16, 3:4, 1:1, 4:3, 16:9720, 10805, 10, 12 seconds
Kling O39:16, 1:1, 16:9720, 10803–15 secondsSupports multi-shot (up to 6 shots, total ≤15s)
Kling V39:16, 1:1, 16:9720, 10803–15 secondsSupports multi-shot (up to 6 shots, total ≤15s)
Kling 3.0 Turbo9:16, 1:1, 16:9720, 10803–15 secondsSupports multi-shot (up to 6 shots, total ≤15s)
Kling 2.69:16, 1:1, 16:9N/A5, 10 seconds
Kling 2.5 Turbo Pro9:16, 1:1, 16:910805, 10 seconds
Kling 2.5 Turbo Std9:16, 1:1, 16:910805, 10 seconds
Veo 3.19:16, 16:9720, 1080, 2160(4K)4, 6, 8 seconds (2160(4K)p only 8s)
Veo 3.1 Fast9:16, 16:9720, 1080, 2160(4K)4, 6, 8 seconds (2160(4K)p only 8s)
Gemini Omni Flash9:16, 16:9720, 1080, 2160(4K)4, 6, 8, 10 seconds
MiniMax-Hailuo-02Determined by model768, 10806, 10 seconds (1080p only 6s)
MiniMax-Hailuo-2.3Determined by model768, 10806, 10 seconds (1080p only 6s)
Vidu Q3 Pro9:16, 3:4, 1:1, 4:3, 16:9540, 720, 10801–16 seconds
Vidu Q29:16, 3:4, 1:1, 4:3, 16:910802–10 seconds
Wan 2.69:16, 3:4, 1:1, 4:3, 16:9720, 10805, 10, 15 seconds
Grok Video9:16, 3:4, 2:3, 1:1, 4:3, 3:2, 16:9480, 7201–15 seconds
Happy Horse 1.09:16, 3:4, 1:1, 4:3, 16:9720, 10803–15 seconds
Happy Horse 1.19:16, 3:4, 1:1, 4:3, 16:9720, 10803–15 seconds
Wan 2.79:16, 3:4, 1:1, 4:3, 16:9720, 10802–15 secondsAudio upload not supported in API v1
Topview Pro9:16, 3:4, 1:1, 4:3, 16:9N/A5, 10 seconds
Topview Plus9:16, 1:1, 16:9N/A5, 10 seconds
Topview Best9:16, 1:1, 16:9N/A5, 10 seconds
  • sound: "on" or "off", default "off"; models supporting Native Audio can generate native audio when enabled
  • generatingCount: 1–4 (required)

Request Example

POST /v1/common_task/text2video/task/submit
Topview-Uid: user_123

{
  "model": "Seedance 1.5 pro",
  "prompt": "A futuristic city at night with neon lights reflecting on wet streets, cinematic 4K",
  "aspectRatio": "16:9",
  "resolution": 1080,
  "duration": 5,
  "sound": "on",
  "generatingCount": 1
}

Response Example

{
  "code": "200",
  "message": "Success",
  "result": {
    "taskId": "task_t2v_20251128001",
    "status": "init",
    "noticeUuid": "uuid_xyz"
  }
}

GET /v1/common_task/text2video/task/query

Request Parameters

ParameterTypeRequiredDescription
taskIdstringYesTask ID returned from submission
needCloudFrontUrlbooleanNoWhether to return CloudFront URL, default false

Request Example

GET /v1/common_task/text2video/task/query?taskId=task_t2v_20251128001
Topview-Uid: user_123

Response Example (Success)

{
  "code": "200",
  "message": "Success",
  "result": {
    "taskId": "task_t2v_20251128001",
    "status": "success",
    "errorMsg": null,
    "costCredit": "10.00",
    "videos": [
      {
        "status": "success",
        "errorMsg": null,
        "fileId": "file_video_t2v_001",
        "filePath": "https://cdn.example.com/videos/t2v_output_001.mp4",
        "width": 1920,
        "height": 1080,
        "duration": 5000,
        "coverPath": "https://cdn.example.com/covers/t2v_cover_001.jpg"
      }
    ]
  }
}

Response Example (Failure)

{
  "code": "200",
  "message": "Success",
  "result": {
    "taskId": "task_t2v_20251128001",
    "status": "fail",
    "errorMsg": "Model service unavailable",
    "costCredit": "0.00",
    "videos": []
  }
}

III. Omni Reference

Omni Reference supports generating new videos through reference images/videos/audios + prompt. The prompt can reference uploaded materials using the <IMAGEN> / <VIDEON> / <AUDION> syntax.

POST /v1/common_task/omni_reference/task/submit

Request Headers

ParameterTypeRequiredDescription
Topview-UidstringYesUser ID

Request Body (JSON)

ParameterTypeRequiredDescription
modelstringYesModel name, e.g., "Standard", "Fast", "Kling O3 Video-Edit", "Kling O1 Video-Edit"
promptstringYesPrompt text, supports <IMAGE1>, <VIDEO1>, <AUDIO1> and other reference syntax
inputImagesobject[]NoList of reference images, see table below
inputVideosobject[]NoList of reference videos, see table below
inputAudiosobject[]NoList of reference audios, supported by specific models (see limits below)
aspectRatiostringNoAspect ratio, e.g., "16:9"
resolutionintegerNoResolution, 480, 720 or 1080
durationintegerNoVideo duration in seconds
generatingCountintegerNoNumber of generations, 1~4
internetSearchbooleanNoWhether to enable internet search, default false
boardIdstringNoBoard ID. When provided, a task record will be created in the Board
noticeUrlstringNoCallback URL to receive a notification when the task reaches a final state. When provided, the submit response includes noticeUuid

inputImages Object Fields

ParameterTypeRequiredDescription
fileIdstringNoFile ID returned from upload interface
inputImageS3PathstringNoImage S3 path (choose one with fileId)
namestringYesReference name, e.g., "Image1", corresponds to <IMAGE1> in prompt

inputVideos Object Fields

ParameterTypeRequiredDescription
fileIdstringNoFile ID returned from upload interface
inputVideoS3PathstringNoVideo S3 path (choose one with fileId)
namestringYesReference name, e.g., "Video1", corresponds to <VIDEO1> in prompt

inputAudios Object Fields

ParameterTypeRequiredDescription
fileIdstringNoFile ID returned from upload interface
inputAudioS3PathstringNoAudio S3 path (choose one with fileId)
namestringYesReference name, e.g., "Audio1", corresponds to <AUDIO1> in prompt

Supported Models and Parameter Constraints

Note: The model parameter should use the model display name (e.g., "Standard", "Kling O3 Video-Edit"), not the code.

(Video Edit Mode)

Model NameAspect Ratio Options (aspectRatio)Resolution (resolution)Duration (duration)Native AudioInternet Search
Standard (SD 2.0)9:16, 3:4, 1:1, 4:3, 16:9, 21:9480, 720, 1080, 2160(4K)4–15 seconds
Fast(SD 2.0 Fast)9:16, 3:4, 1:1, 4:3, 16:9, 21:9480, 7204–15 seconds
Seedance 2.0 Mini9:16, 3:4, 1:1, 4:3, 16:9, 21:9480, 7204–15 seconds
Gemini Omni FlashNot supported (determined by video)720, 1080, 2160(4K)Not supported (determined by video)
Veo 3.1 ExtendNot supported (determined by video)7207 seconds only
Veo 3.1 Fast ExtendNot supported (determined by video)7207 seconds only
Happy Horse 1.0 Video EditNot supported (determined by video)720, 1080Not supported (determined by video)
Wan 2.7 Video EditNot supported (determined by video)720, 1080Not supported (determined by video)
Wan 2.7 Video Extend9:16, 3:4, 1:1, 4:3, 16:9720, 10802–15 seconds
Wan 2.7 Reference to Video9:16, 3:4, 1:1, 4:3, 16:9720, 10802–10 seconds
Grok Video EditNot supported (determined by video)Not supported (determined by video)Not supported (determined by video)
Grok Video ExtendNot supported (determined by video)Not supported (determined by video)2–10 seconds

Seedance 2.0 mixed upload limits:

  • Maximum 9 images
  • Maximum 3 videos (single video duration: 2–15.2s, total video duration ≤15.2s)
  • Maximum 3 audios (single audio duration: 2–15.2s, total audio duration ≤15.2s)
  • Images + videos + audios combined cannot exceed 15 items

Kling (Video Edit Mode)

Model NameEdit Mode (videoEditMode)Reference ImagesResolution (resolution)Keep Original AudioRemarks
Kling O3 Video-Editbase, featureMaximum 4 (optional)720, 1080Supports @mention reference images/videos
Kling O1 Video-Editbase, featureMaximum 4 (optional)1080Supports @mention reference images/videos; billed per second

Kling input video requirements (inputVideos, inputVideoMode: singleVideo):

  • Width/Height: 720–2160(4K)px
  • Video duration: 3–10 seconds

Grok Video (Video Edit Mode)

Model NameInput VideosaspectRatio / resolution / durationRemarks
Grok Video EditExactly 1Do not pass (determined by input)<VIDEONAME> reference prompt; no images
Grok Video ExtendExactly 1Pass duration only (2~10)<VIDEONAME> reference prompt; no images

Grok input video requirements (inputVideos, inputVideoMode: singleVideo):

  • Width/Height: 300–2160(4K)px
  • Video duration: 1–15 seconds (Edit) / 2–15 seconds (Extend)
  • Do not pass inputImages or internetSearch

Gemini Omni Flash / Happy Horse / Wan 2.7 (Video Edit Mode)

Model NameInput VideosInput ImagesRequired ParametersRemarks
Gemini Omni FlashExactly 1Optional 0~1resolution (720/1080/2160(4K))Input video duration 3~10s
Veo 3.1 ExtendExactly 1Not supportedresolution (720), duration (7)Input video duration 1141s, dimensions 7202160px
Veo 3.1 Fast ExtendExactly 1Not supportedresolution (720), duration (7)Input video duration 1141s, dimensions 7202160px
Happy Horse 1.0 Video EditExactly 1Optional 0~5resolution (720/1080)Input video duration 3~15s
Wan 2.7 Video EditExactly 1Optional 0~4resolution (720/1080)Input video duration 2~10s; audio upload not supported in API v1
Wan 2.7 Video ExtendExactly 1Not supportedaspectRatio, duration (2~15), resolutionAudio upload not supported in API v1
Wan 2.7 Reference to Video1~51~5aspectRatio, duration (2~10), resolutionSupports up to 1 input audio (2–30s, total ≤30s)

Request Example (Grok Video Edit)

POST /v1/common_task/omni_reference/task/submit
Topview-Uid: user_123

{
  "model": "Grok Video Edit",
  "prompt": "Apply cinematic color grading to <VIDEO1>",
  "inputVideos": [
    {
      "fileId": "file_video_001",
      "name": "Video1"
    }
  ],
  "generatingCount": 1
}

Common parameters description:

  • generatingCount: 1–4 (required)

Request Example (Image Reference)

POST /v1/common_task/omni_reference/task/submit
Topview-Uid: user_123

{
  "model": "Kling O3 Video-Edit",
  "prompt": "Transform <IMAGE1> into a watercolor painting style animation with gentle movement",
  "inputImages": [
    {
      "fileId": "file_img_abc001",
      "name": "Image1"
    }
  ],
  "aspectRatio": "16:9",
  "resolution": 720,
  "duration": 5,
  "generatingCount": 1,
  "internetSearch": false
}

Request Example (Image + Video + Audio Mixed Reference)

POST /v1/common_task/omni_reference/task/submit
Topview-Uid: user_123

{
  "model": "Standard",
  "prompt": "Apply the style from <IMAGE1> to the motion in <VIDEO1> and sync pacing to <AUDIO1>",
  "inputImages": [
    {
      "fileId": "file_img_style001",
      "name": "Image1"
    }
  ],
  "inputVideos": [
    {
      "fileId": "file_video_motion001",
      "name": "Video1"
    }
  ],
  "inputAudios": [
    {
      "fileId": "file_audio_rhythm001",
      "name": "Audio1"
    }
  ],
  "aspectRatio": "9:16",
  "resolution": 1080,
  "duration": 5,
  "generatingCount": 2
}

Response Example

{
  "code": "200",
  "message": "Success",
  "result": {
    "taskId": "task_omni_20260302001",
    "status": "init",
    "noticeUuid": "uuid_omni_abc"
  }
}

GET /v1/common_task/omni_reference/task/query

Request Parameters

ParameterTypeRequiredDescription
taskIdstringYesTask ID returned from submission
needCloudFrontUrlbooleanNoWhether to return CloudFront URL, default false

Request Example

GET /v1/common_task/omni_reference/task/query?taskId=task_omni_20260302001
Topview-Uid: user_123

Response Example (Success)

{
  "code": "200",
  "message": "Success",
  "result": {
    "taskId": "task_omni_20260302001",
    "status": "success",
    "errorMsg": null,
    "costCredit": "8.00",
    "videos": [
      {
        "status": "success",
        "errorMsg": null,
        "fileId": "file_video_omni_001",
        "filePath": "https://cdn.example.com/videos/omni_output_001.mp4",
        "width": 1920,
        "height": 1080,
        "duration": 5000,
        "coverPath": "https://cdn.example.com/covers/omni_cover_001.jpg",
        "boardTaskId": null
      }
    ]
  }
}

IV. Common Specifications

Task Status Enumeration

Status ValueMeaning
initTask submitted, waiting for processing
runningTask is being processed
successTask completed successfully
failTask failed, see errorMsg field for error reason

Polling Recommendations

Recommended polling interval: 3–5 seconds, timeout should be set to 5 minutes.

Sub-tasks in videos

When generatingCount > 1, the videos list contains multiple sub-task results. Each sub-task has an independent status. When the parent task status=success, all sub-tasks are completed (some sub-tasks may be fail, check the sub-task's status and errorMsg).

Omni Reference Prompt Reference Syntax

Reference input materials in prompt using <IMAGEN>, <VIDEON> or <AUDION>:

"prompt": "Apply the color style from <IMAGE1> to the scene, follow the motion from <VIDEO1>, and align to <AUDIO1> rhythm"

Image1 corresponds to name="Image1" in inputImages, Video1 corresponds to name="Video1" in inputVideos, and Audio1 corresponds to name="Audio1" in inputAudios.


V. Credit Billing Explanation

totalCost = unitCost × generatingCount

unitCost Calculation Rules:

  • General Models: Query pricing table using resolution, duration, sound parameters
    • Models with resolution parameter: key = {resolution}_{duration}[_sound], e.g., 1080_10_sound
    • Models without resolution parameter: key = {duration}[_sound], e.g., 10_sound
  • Kling O1 Video-Edit (special): unitCost = 0.8 × ceil(input video seconds)
  • Grok Video-Edit (special): unitCost = 0.8 × ceil(input video seconds)
  • Grok Video (I2V / T2V): unitCost = 0.8 × duration (480p and 720p same rate)

5.1 Model Pricing Tables (Unit: Credits/Generation, generatingCount=1)


Standard / Fast

Billing parameters: resolution, duration

Enabling sound does not add cost. Credit value = per-second rate × duration (seconds).

Image-to-Video / Text-to-Video / Video-Edit (without video input)

ModelResolutionCredits per second
Standard1080p2.5
Standard720p1
Standard480p0.5
Fast720p0.8
Fast480p0.4

Video-Edit (with video input)

ModelResolutionCredits per second
Standard1080p3
Standard720p1.2
Standard480p0.6
Fast720p0.96
Fast480p0.48

Seedance 1.5 pro

Billing parameters: resolution, duration, sound Enabling sound approximately ×2.1

Resolution4s5s6s7s8s9s10s11s12s
720p0.480.600.720.840.961.081.201.321.44
720p + sound1.001.251.501.752.002.252.502.753.00
1080p1.121.401.681.962.242.522.803.083.36
1080p + sound2.202.753.303.854.404.955.506.056.60

Seedance 1.0 Pro Fast / Seedance 1.0 Pro

Billing parameters: resolution, duration (does not support sound)

ModelResolution5s10s12s
1.0 Pro Fast720p0.350.700.84
1.0 Pro Fast1080p0.751.501.80
1.0 Pro720p1.002.002.40
1.0 Pro1080p2.254.505.40

Kling V3

Billing parameters: resolution, duration, sound Enabling sound: 720p approximately +60%, 1080p approximately +25%

Resolution3s5s8s10s12s15s
720p1.52.54.05.06.07.5
720p + sound2.44.06.48.09.612.0
1080p2.44.06.48.09.612.0
1080p + sound3.05.08.010.012.015.0

Kling O3 / Kling O3 Reference-to-Video

Billing parameters: resolution, duration, sound Enabling sound approximately +12.5%

Resolution3s5s8s10s12s15s
720p1.52.54.05.06.07.5
720p + sound1.83.04.86.07.29.0
1080p2.44.06.48.09.612.0
1080p + sound2.74.57.29.010.813.5

Kling 2.6

Billing parameters: duration, sound (no resolution dimension) Enabling sound approximately ×2.1

DurationNo SoundWith Sound
5s1.553.25
10s3.106.50

Kling O1 Reference-to-Video

Billing parameters: duration (1080p only, does not support sound) Approximately 0.5 credits/second

3s4s5s6s7s8s9s10s
1.52.02.53.03.54.04.55.0

Kling 2.5 Turbo Pro / Kling 2.5 Turbo Std

Billing parameters: duration (1080p only, does not support sound)

Model5s10s
Kling 2.5 Turbo Pro1.553.10
Kling 2.5 Turbo Std1.002.00

Veo 3.1 / Veo 3.1 Reference to video

Billing parameters: resolution, duration, sound 720p and 1080p same price; enabling sound ×2; 2160(4K)p only supports 8s

Resolution4s4s+sound6s6s+sound8s8s+sound
720p / 1080p4.48.86.613.28.817.6
2160(4K)p17.626.4

Veo 3.1 Fast / Veo 3.1 Fast Reference to video

Billing parameters: resolution, duration, sound 720p and 1080p same price; enabling sound approximately +50%; 2160(4K)p only supports 8s

Resolution4s4s+sound6s6s+sound8s8s+sound
720p / 1080p2.43.63.65.44.87.2
2160(4K)p13.616.0

MiniMax-Hailuo-02 / MiniMax-Hailuo-2.3

Billing parameters: resolution, duration (does not support sound) 1080p only supports 6s

Resolution6s10s
768p1.63.2
1080p2.8

MiniMax-Hailuo-2.3-Fast

Billing parameters: resolution, duration (does not support sound) 1080p only supports 6s

Resolution6s10s
768p1.11.8
1080p1.8

Vidu Q3 Pro

Billing parameters: resolution, duration, sound Enabling sound does not add cost; supports 1–16s any duration, linear billing

ResolutionUnit Price (Credits/sec)5s10s16s
540p0.402.04.06.4
720p0.904.59.014.4
1080p1.005.010.016.0

Vidu Q2 (T2V) / Vidu Q2 Reference to Video (I2V)

Billing parameters: duration (1080p only, does not support sound) I2V Reference mode includes approximately 2.1 credits base cost, same duration approximately ×2 of T2V

Model2s4s6s8s10s
Vidu Q2 (T2V)0.841.401.962.523.08
Vidu Q2 Reference to Video (I2V)2.382.943.504.064.62

Wan 2.6 (I2V and T2V same price)

Billing parameters: resolution, duration, sound Enabling sound does not add cost

Resolution5s10s15s
720p2.34.66.9
1080p3.857.711.55

Gemini Omni Flash (I2V / T2V / Video Edit)

Billing parameters: resolution, duration (does not support sound)

ResolutionUnit Price (Credits/sec)4s6s8s10s
720p0.52.03.04.05.0
1080p0.753.04.56.07.5
2160(4K)p1.04.06.08.010.0

Happy Horse 1.0 (I2V / T2V / R2V / Video Edit)

Billing parameters: resolution, duration (does not support sound)

ResolutionUnit Price (Credits/sec)3s5s10s15s
720p1.23.66.012.018.0
1080p2.06.010.020.030.0

Wan 2.7 (I2V / T2V / R2V / Video Edit / Video Extend)

Billing parameters: resolution, duration (does not support sound)

ResolutionUnit Price (Credits/sec)2s5s10s15s
720p1.02.05.010.015.0
1080p1.53.07.515.022.5

Wan 2.7 note: Audio upload not supported in API v1.


Topview Series (I2V and T2V same price)

Billing parameters: duration (no resolution, does not support sound)

Model5s10s
Pro1.02.0
Plus2.75.4
Best7.7515.5

Kling O3 Video-Edit (Video Edit Mode)

Billing parameters: resolution, output video duration (determined by input video, max 10s, does not support sound)

ResolutionUnit Price (Credits/sec)3s5s8s10s
720p1.705.18.513.617.0
1080p2.006.010.016.020.0

Kling O1 Video-Edit (Video Edit Mode)

Billing parameters: Input video duration (rounded up per second, does not support sound)

unitCost = 0.8 × ceil(input video seconds)
3s4s5s6s7s8s9s10s
2.43.24.04.85.66.47.28.0

Grok Video (Image-to-Video / Text-to-Video)

Billing parameters: resolution, duration (480p and 720p same per-second rate; no sound)

unitCost = 0.8 × duration (seconds)
ResolutionCredits per second
480p0.8
720p0.8

Example: 10s @ 720p → 8.0 credits per generation.


Grok Video Edit / Grok Video Extend (Video Edit Mode)

Billing parameters: Input video duration (rounded up per second)

unitCost = 0.8 × ceil(input video seconds)
1s2s5s10s15s
0.81.64.08.012.0

5.2 Native Audio (sound) Surcharge Reference

SurchargeModels
No additional costStandard/Fast, Vidu Q3 Pro, Wan 2.6
Approximately +12.5%Kling O3, Kling O3 Reference-to-Video
Approximately +25% (1080p) / +60% (720p)Kling V3
Approximately +50%Veo 3.1 Fast series, Veo 3.1 2160(4K)p
×2Seedance 1.5 pro, Kling 2.6, Veo 3.1 (720p/1080p)
Not supportedSeedance 1.0 Pro series, Kling O1/2.5 series, MiniMax series, Vidu Q2, Topview full series, Grok Video, Gemini Omni Flash, Happy Horse 1.0, Wan 2.7