curl --request POST \ --url https://zcbservice.aizfw.cn/kyyReactApiServer/v1/starvideos/videos \ --header 'Authorization: Bearer {{key}}' \ --header 'Content-Type: application/json' \ --data '{ "prompt": "A cyberpunk city at night with a slow camera push-in", "model": "starvideos_v3", "duration": 5, "ratio": "16:9" }'
Create StarVideos video generation tasks with text-only, single-image, and first/last frame modes
POST
/
kyyReactApiServer
/
v1
/
starvideos
/
videos
curl --request POST \ --url https://zcbservice.aizfw.cn/kyyReactApiServer/v1/starvideos/videos \ --header 'Authorization: Bearer {{key}}' \ --header 'Content-Type: application/json' \ --data '{ "prompt": "A cyberpunk city at night with a slow camera push-in", "model": "starvideos_v3", "duration": 5, "ratio": "16:9" }'
baseUrl 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.
Task creation is asynchronous, so save the returned id.
Include subject, action, camera, and style details in your prompt.
In first/last frame mode, keep the 2 images visually consistent.
Image URLs must be publicly accessible when the request is sent.
curl --request POST \ --url https://zcbservice.aizfw.cn/kyyReactApiServer/v1/starvideos/videos \ --header 'Authorization: Bearer {{key}}' \ --header 'Content-Type: application/json' \ --data '{ "prompt": "A cyberpunk city at night with a slow camera push-in", "model": "starvideos_v3", "duration": 5, "ratio": "16:9" }'