Skip to main content
GET
/
script-to-video
/
genStatus
/
{generation_id}
Get Generation Status
curl --request GET \
  --url https://api.trugen.ai/v1/script-to-video/genStatus/{generation_id} \
  --header 'x-api-key: <api-key>'
{
  "actual_time": 0,
  "avatar_id": "c5b563de",
  "callback_url": "https://your-app.com/webhook/video-status",
  "created_at": "2026-04-20T15:50:48.501917Z",
  "estimated_time": 2.09,
  "generation_id": "529fb61c-da5d-4b2d-9d49-b612deede60f",
  "model_name": "eleven_turbo_v2_5",
  "modified_at": "2026-04-20T15:51:47.429158Z",
  "provider_name": "elevenlabs",
  "script": "Hello, This is team trugen",
  "status": "failed",
  "video_name": "",
  "video_url": "",
  "voice_id": "FGY2WhTYpPnrIDTdsKH5"
}

Authorizations

x-api-key
string
header
required

Path Parameters

generation_id
string
required

The unique identifier of the video generation job.

Example:

"529fb61c-da5d-4b2d-9d49-b612deede60f"

Response

Generation job details retrieved successfully.

actual_time
number

The actual time taken to generate the video in seconds.

Example:

0

avatar_id
string

The ID of the avatar used for video generation.

Example:

"c5b563de"

callback_url
string

The callback URL provided when the generation was initiated.

Example:

"https://your-app.com/webhook/video-status"

created_at
string<date-time>

Timestamp when the generation job was created.

Example:

"2026-04-20T15:50:48.501917Z"

estimated_time
number

Estimated duration of the video in seconds.

Example:

2.09

generation_id
string

The unique identifier of this generation job.

Example:

"529fb61c-da5d-4b2d-9d49-b612deede60f"

model_name
string

The TTS model used for audio synthesis.

Example:

"eleven_turbo_v2_5"

modified_at
string<date-time>

Timestamp when the generation job was last updated.

Example:

"2026-04-20T15:51:47.429158Z"

provider_name
string

The TTS provider used for audio synthesis.

Example:

"elevenlabs"

script
string

The text script used to generate the video.

Example:

"Hello, This is team trugen"

status
string

Current status of the generation job. Possible values: processing, completed, failed.

Example:

"failed"

video_name
string

The name of the generated video file. Empty if not yet completed.

Example:

""

video_url
string

The URL of the generated video. Empty if not yet completed.

Example:

""

voice_id
string

The voice ID used for audio narration.

Example:

"FGY2WhTYpPnrIDTdsKH5"