videos is OpenAI Sora's video generation interface that creates video generation tasks through text prompts or optional reference image inputs. After creation, you need to use the query interface to get the generation status.Once the video has been created, you need to call /v1/videos/{video_id}/content again to retrieve the video content.sora-2 sora-2-proYour request was blocked by our moderation system., this error is returned by OpenAI's official moderation system due to non-compliant input parameters. Please adjust your request parameters (e.g., modify the prompt content, change reference images) and try again.720x1280. For specific supported resolutions, please refer to the model documentation.Shot 1:
duration: 7.5sec
Scene: The plane takes off.
Shot 2:
duration: 7.5sec
Scene: The plane lands.Shot N: (N is the shot number)duration: Xsec to specify shot durationScene: to describe the shot contentcurl --location --request POST 'https://api.cometapi.com/v1/videos' \
--header 'Authorization: ' \
--form 'prompt="cat"' \
--form 'model="sora-2"' \
--form 'seconds="4"' \
--form 'size="720x1280"'{
"id": "video_68e688d4950481918ec389280c2f78140fcb904657674466",
"object": "video",
"created_at": 1759938772,
"status": "queued",
"completed_at": null,
"error": null,
"expires_at": null,
"model": "sora-2",
"progress": 0,
"remixed_from_video_id": null,
"seconds": "4",
"size": "720x1280"
}