Core API
Generate
The engine passthrough — run any live engine in the arsenal directly by id. Returns a task to poll.
POST/v1/generate
Request body#
| Field | Type | Description |
|---|---|---|
| model* | string | Engine id (e.g. flux-schnell, kling-i2v). Must be a live engine — see the rate card. |
| prompt | string | Text prompt. Required by most text/edit/video engines. |
| image_url | string | Source image URL for image-to-video / edit engines. |
| video_url | string | Source video URL for video-input engines. |
| audio_url | string | Source audio URL where the engine takes audio. |
| params | object | Engine-specific parameters, passed through verbatim (e.g. duration, aspect_ratio). |
Example request#
curl https://www.reelestateboss.com/v1/generate \
-H "Authorization: Bearer reb_live_…" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-i2v",
"image_url": "https://…/hero.jpg",
"prompt": "slow cinematic push-in, golden hour",
"params": { "duration": 5 }
}'Response · 202#
A queued task with a poll_url and the published price_usd. Poll the task for the result.
200
{
"id": "8f3c…",
"status": "queued",
"model": "kling-i2v",
"price_usd": "0.30",
"poll_url": "https://www.reelestateboss.com/v1/tasks/8f3c…"
}