Skip to main content

Raymond-One-Click Video

POST 

/open/aigw/gateway/generations

Submit a one-click-video-simple asynchronous generation task. The server auto-matches templates and charges by shotCount.

Flow

  1. Submit the task through this endpoint and get taskNo
  2. After processing, the system sends a POST callback to callbackUrl
  3. You can also poll with GET /open/aigw/gateway/generationTask?taskNo=xxx

Task Query (merged into same capability docs)

Request path: GET /open/aigw/gateway/generationTask?taskNo={taskNo}

Query response includes task status, stage progress (progress), and sanitized output (data):

  • status: pending / processing / success / failed
  • progress.stage: model_image / image / video / merge / completed
  • data.finalVideoUrl: final rendered video URL when task succeeds

Request

Responses

Task submitted successfully

Callbacks

POST 

{$request.body#/callbackUrl}

Callbacks Responses

Callback accepted (recommended to return code=1000)