Skip to main content
POST
Submit Seedance 2.0 Mini task

Submit task

prompt and type are required. image-to-video takes 1 public HTTP(S) image URL (first frame) or 2 (first and last frame); text-to-video must omit image_urls. resolution is 480p or 720p (default), duration is 4–15 seconds (default 5), and generate_audio defaults to true.
The gateway charges per second: 480p = 21, 720p = 44 credits. Audio does not change the price. Read /pricing for the current amount.

Authorizations

Authorization
string
header
required

Wizzx API key. This is not a JWT.

Body

application/json

text-to-video must omit image_urls; image-to-video takes 1 image (first frame) or 2 images (first and last frame). Billed per second by resolution; audio is included at no extra charge.

type
enum<string>
required
Available options:
text-to-video
prompt
string
required

Required prompt, at most 4000 Unicode characters.

Required string length: 1 - 4000
image_urls
string<uri>[]
Maximum array length: 2

Publicly reachable HTTP(S) URL.

Pattern: ^https?://
aspect_ratio
enum<string>

Defaults to 16:9 for text-to-video and adaptive for image-to-video. auto is an alias of adaptive.

Available options:
16:9,
9:16,
1:1,
4:3,
3:4,
21:9,
adaptive,
auto
resolution
enum<string>
default:720p
Available options:
480p,
720p
duration
integer
default:5
Required range: 4 <= x <= 15
generate_audio
boolean
default:true
seed
integer

-1 means random.

Required range: -1 <= x <= 4294967295

Response

Task accepted

code
enum<integer>
required
Available options:
0
message
string
required
Example:

"success"

data
object
required
request_id
string<uuid>
required