mingyan
StarVideos O3 - Create Task
Create StarVideos O3 video generation tasks with text, image references, first/last frames, video references, and mixed image-video references
StarVideos O3 Create Video Task
Create a video generation task with
starvideos_o3. This API supports text-to-video, single/multiple image references, first/last frame generation, video reference, image + video, and multi-image + video modes.Authentication
Authentication
Get KeyAll requests require a Bearer token in the request header:
cURL
Authorization: Bearer {{key}}
Base URL
https://zcbservice.aizfw.cn/kyyReactApiServerbaseUrl is the shared prefix for all public APIs. The api field in the current page frontmatter shows the full endpoint. Use this baseUrl as the common prefix when reading or composing request paths.Request Parameters
modelbodystringrequiredModel name. The value is fixed to
starvideos_o3.promptbodystringrequiredVideo generation prompt. Describe the subject, motion, camera movement, and style.
Example:
"A cyberpunk city at night with a slow camera push-in"durationbodyintegerVideo duration in seconds. Applies to text, image reference, and first/last frame modes.
- Default:
3 - Supported range:
3-15 - For video reference, image + video, and multi-image + video modes, duration follows the reference video material
ratiobodystringOutput aspect ratio. Applies to text, image reference, and first/last frame modes.
- Default:
9:16 - Available values:
1:1,9:16,16:9 - For video reference, image + video, and multi-image + video modes, the aspect ratio follows the reference video material
referenceImagesbodyarrayImage reference URL array. This is the primary image input field for O3.
Rules:
- Image-only reference: up to
7images - With
referenceVideos: up to4images - Do not use this field for first/last frame mode. Use
first_image+last_imageinstead
Example:
["https://example.com/image1.jpg", "https://example.com/image2.jpg"]first_imagebodystringFirst frame image URL. Only used for first/last frame mode and must be paired with
last_image.last_imagebodystringLast frame image URL. Only used for first/last frame mode and must be paired with
first_image.referenceVideosbodyarrayVideo reference URL array. Supports up to
1 video. The reference video duration must be within 3-10 seconds.When video reference is used, the generated duration and aspect ratio follow the reference video material.
Example:
["https://example.com/source.mp4"]Modes
Text to Video
Provide
model and prompt; duration and ratio are optional.Image Reference
Use
referenceImages to provide 1-7 reference images.First/Last Frame
Use
first_image and last_image to control the start and end frames.Video Reference
Use
referenceVideos to provide 1 reference video. The reference video duration must be within 3-10 seconds.Image + Video
Use
referenceImages with referenceVideos; images are limited to 4.Multi-image + Video
Use multiple images and a reference video to constrain subject, style, and motion.
Constraints
Key constraints:
modelonly supportsstarvideos_o3durationsupports3-15seconds and defaults to3ratiosupports1:1,9:16, and16:9; default is9:16referenceImagessupports up to7images, or up to4images when used with video referencereferenceVideossupports up to1video; the reference video duration must be within3-10secondsfirst_imageandlast_imagemust be provided togetherfirst_image/last_imagecannot be used together withreferenceImagesorreferenceVideos
Field note:
For
starvideos_o3, image input uses referenceImages, while first/last frame input uses first_image + last_image.Response Parameters
idstringUnique identifier for the video generation task, used for subsequent status queries.
objectstringObject type, always
video.createdintegerTask creation timestamp.
modelstringModel name used for generation.
statusstringTask status:
queued- Queuedprocessing- Processingcompleted- Completedfailed- Failed
errorstringError message returned when the task status is
failed.
