Skip to main content
POST

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json

SkyReels image-to-video request. prompt is required; at least one of first_frame_image, end_frame_image, or mid_frame_images must be provided. Other fields fall back to provider defaults.

prompt
string
required

Text description of the video to generate (max 1280 tokens).

Minimum string length: 1
Example:

"The man slowly turns toward the camera and smiles"

first_frame_image
string

Start frame image URL (jpg/jpeg/png/gif/bmp).

Minimum string length: 1
Example:

"https://example.com/portrait.png"

end_frame_image
string

End frame image URL (jpg/jpeg/png/gif/bmp).

Minimum string length: 1
Example:

"https://example.com/end.png"

mid_frame_images
object[]

Optional mid-frame keyframes. Each tag must be referenced in the prompt via @tag.

duration
integer
default:5

Video duration in seconds.

Required range: 3 <= x <= 15
Example:

5

resolution
enum<string>
default:1080p

Output video resolution.

Available options:
480p,
720p,
1080p
Example:

"1080p"

mode
enum<string>
default:std

Quality/performance mode. fast is quicker (sound must be false); std balances speed and quality.

Available options:
fast,
std
Example:

"std"

sound
boolean
default:false

Whether to generate audio. Not supported when mode=fast.

Example:

false

prompt_optimizer
boolean
default:true

Enable automatic prompt expansion/optimization.

Example:

true

Response

Task submitted successfully

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required

Detailed data about the submitted asynchronous task.