Skip to main content
GET
/
api
/
v1
/
generations
/
{id}
Get Generation
curl --request GET \
  --url https://veogen.studio/api/v1/generations/{id}
{
  "data": {
    "id": "<string>",
    "status": "<string>",
    "model": "<string>",
    "type": "<string>",
    "prompt": "<string>",
    "parameters": {},
    "output": {},
    "error": {},
    "created_at": "<string>",
    "completed_at": {}
  }
}

Documentation Index

Fetch the complete documentation index at: https://veogenstudio.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

id
string
required
The UUID of the generation, returned when you created it.

Response 200 OK

data
object

Polling Recommendations

  • Image generations typically complete in 5–15 seconds. Poll every 3 seconds.
  • Video generations typically take 30–120 seconds. Poll every 5–10 seconds.
  • Stop polling once status is completed or failed.

Example

curl https://veogen.studio/api/v1/generations/01928abc-def0-7123-b456-789012345678 \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Accept: application/json"
Response (completed video):
{
  "data": {
    "id": "01928abc-def0-7123-b456-789012345678",
    "status": "completed",
    "model": "veo-3.1-fast",
    "type": "video",
    "prompt": "Ocean waves crashing on a rocky shore, dramatic storm clouds",
    "parameters": {
      "aspect_ratio": "16:9",
      "resolution": "1080p"
    },
    "output": {
      "url": "https://veogen.studio/storage/videos/01928abc.mp4",
      "download_url": "https://veogen.studio/storage/videos/01928abc.mp4?download=1",
      "content_type": "video/mp4"
    },
    "error": null,
    "created_at": "2025-01-15T10:30:00+00:00",
    "completed_at": "2025-01-15T10:31:15+00:00"
  }
}
Response (failed):
{
  "data": {
    "id": "01928abc-def0-7123-b456-789012345679",
    "status": "failed",
    "model": "veo-3.1-fast",
    "type": "video",
    "prompt": "...",
    "parameters": {},
    "output": null,
    "error": "The model rejected the prompt due to content policy.",
    "created_at": "2025-01-15T10:30:00+00:00",
    "completed_at": "2025-01-15T10:30:05+00:00"
  }
}
If the generation failed on our infrastructure (not due to your content), you are automatically refunded the full price_usd.