{
"duration": 4,
"prompt": "Morning above cloud sea; toast-shaped balloons drift. Characters: two travel vloggers in basket. Action: orbiting drone shot; a seagull swoops; balloon makes a tiny “bounce.” Camera: orbit + gentle dolly; autofocus through clouds. Look: bright/clean sky blue; toasted surface texture. Motion: volumetric clouds and consistent lighting. Audio: burner whoosh + soft whistle; line: “Morning from the sky!”",
"size": "720*1280"
}
curl --location --request POST 'https://api.302.ai/ws/api/v3/openai/sora-2/text-to-video' \
--header 'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--header 'Content-Type: application/json' \
--data-raw '{
"duration": 4,
"prompt": "Morning above cloud sea; toast-shaped balloons drift. Characters: two travel vloggers in basket. Action: orbiting drone shot; a seagull swoops; balloon makes a tiny “bounce.” Camera: orbit + gentle dolly; autofocus through clouds. Look: bright/clean sky blue; toasted surface texture. Motion: volumetric clouds and consistent lighting. Audio: burner whoosh + soft whistle; line: “Morning from the sky!”",
"size": "720*1280"
}'
{
"code": 200,
"message": "success",
"data": {
"id": "83e3c2edfaf8483e83029a0ff0a758e6",
"model": "",
"outputs": [],
"urls": {
"get": "https://api.302.ai/ws/api/v3/predictions/83e3c2edfaf8483e83029a0ff0a758e6/result"
},
"has_nsfw_contents": [],
"status": "created",
"created_at": "2025-10-11T06:44:43.299Z",
"error": "",
"executionTime": 0,
"timings": {
"inference": 0
}
}
}