Bamboo Relay
AI model APIVideos

Create a video generation task

Submit a text-to-video or image-to-video task. The response contains a task ID; use the GET endpoint to retrieve its status.

POST
/v1/video/generations

Authorization

BearerAuth
AuthorizationBearer <token>

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

In: header

Request Body

application/json

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/video/generations" \  -H "Content-Type: application/json" \  -d '{}'
{  "task_id": "abcd1234efgh",  "status": "queued"}