Sora 2 · Video Generation

Sora 2 · Introduction

OpenAI Sora 2 video model: text-to-video and image-to-video. Returns a taskId; poll for the result.

How to call

  1. Submit: POST /api/cqt/generator/sora2, returns a taskId.
  2. Query: GET /api/cqt/info/sora2?id=taskId, poll until status = succeeded.

Capability map

Common Errors

CodemsgMeaningHow to fix
451video_unsafeThe generated video was flagged as unsafeModify the prompt or change the seed and retry
451prompt_unsafePrompt rejected by content safety reviewEdit the prompt to remove disallowed content and retry
451image_unsafeInput image flagged as unsafeReplace the input image and retry
400Invalid model / invalid_requestInvalid parameter (model must be sora-2) or unsupported valueCheck model / aspectRatio / duration against the parameter table
500timeoutRequest timed outRetry later; contact support if it persists

Errors are returned as upstream bizCode, e.g. upstream bizCode=451, msg=prompt_unsafe.

Tip: after saving your API Key via Authorize, every capability page supports "Try it".