API token from https://platform.acedata.cloud
Specifies the format of the response from the server. If not specified, the default format is application/json. If application/x-ndjson is specified, the response will be in newline-delimited JSON format, streaming the response chunk by chunk
application/json, application/x-ndjson The model used to generate the videos. sora-2 is the standard model, sora-2-pro is the high-quality model with longer duration support.
sora-2, sora-2-pro "sora-2"
The text prompt describing the video to generate.
"cat running on the river"
Video duration in seconds. For version 1.0: 10 or 15 (sora-2), or 10, 15, 25 (sora-2-pro). For version 2.0: 4, 8, or 12. Default: 15 for version 1.0, 4 for version 2.0.
4, 8, 10, 12, 15, 25 Video orientation. Only applicable when version is 1.0. landscape for horizontal (16:9), portrait for vertical (9:16).
landscape, portrait Video size/resolution. For version 1.0: small (standard definition) or large (HD, only supported in sora-2-pro). For version 2.0: pixel resolution like 720x1280, 1280x720, 1024x1792, or 1792x1024. Default for version 2.0: 720x1280.
small, large, 720x1280, 1280x720, 1024x1792, 1792x1024 Video URL containing the character to use. Only applicable when version is 1.0. Real people must not appear in the video, otherwise the task will fail.
"https://cdn.acedata.cloud/pdidf5.mp4"
The starting second for the character appearance in the video. Only applicable when version is 1.0. Required when character_url is provided.
The ending second for the character appearance in the video. Only applicable when version is 1.0. Required when character_url is provided. The range (character_end - character_start) must be between 1 and 3 seconds.
An array of reference image URLs to guide video generation. For version 1.0: supports multiple images. For version 2.0: only the first image is used and its dimensions should match the size parameter. Do not include images of real people or existing US brand logos, as this may cause the task to fail.
The callback URL which will be called when the video is generated
The API version to use. Version 1.0 supports duration (10/15/25s), orientation, size (small/large), image_urls, and character parameters. Version 2.0 supports duration (4/8/12s), pixel-based size (e.g. 720x1280), and image_urls (first image used as reference).
1.0, 2.0