Bamboo Relay
AI model APIVideosSora format

Create a video

OpenAI-compatible video generation. Reference: https://platform.openai.com/docs/api-reference/videos/create

POST
/v1/videos

Authorization

BearerAuth
AuthorizationBearer <token>

Authenticate with a Bearer token: Authorization: Bearer sk-xxxxxx.

In: header

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Video generation request

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/videos"
{  "id": "string",  "object": "string",  "model": "string",  "status": "string",  "progress": 0,  "created_at": 0,  "seconds": "string",  "completed_at": 0,  "expires_at": 0,  "size": "string",  "error": {    "message": "string",    "code": "string"  },  "metadata": {}}