Generate and restore video
Create video clips, edit references and restore existing footage using durable TokenRex video jobs.
By Apirex Team · Updated · Sources checked
On this page

Choose generation or restoration
Veo models generate clips; their standard, fast and lite variants balance cost and response time. Gemini Omni supports generation, editing and extension at supported resolutions. Seedance accepts supported image, video and audio references and can produce synchronized audio. Starlight Fast restores or upscales existing footage — it is not a text-to-video generator.
A video is a job, not an immediate file
| Step | What your app does |
|---|---|
| Create | POST /videos with the selected model and supported settings; save the returned job ID immediately. |
| Wait | Read GET /videos/{id} every 5–30 seconds. Show queued or in-progress status honestly. |
| Complete | Download GET /videos/{id}/content only when status is completed. |
| Fail | Show the recorded failure, preserve the input and let the user decide whether to create a new job. |
Jobs can continue after a browser closes. Restore the saved job ID when the user returns rather than creating a replacement. Polling and downloading an existing job do not create a second generation charge. A create-request timeout is ambiguous: do not resend it blindly, because a second creation can be a second paid job.
Inputs, duration and quality
Read each model’s page for supported duration, resolution, aspect ratio and reference files. Seedance jobs may need minutes; restoration can take much longer. Keep “generating” visible until the real completed file is available and playable. A thumbnail or progress percentage does not establish completion.
Cost awareness
Most video rates are listed per second, but restoration may use its own work unit. Different resolutions can change the charge. Inspect the recorded completed request, not a flat guess based on the prompt. Stop polling when the job reaches a terminal state; closing the page is not a promise that an already submitted remote job is cancelled.
Add a TokenRex video generator.
Let users describe a clip and choose only supported settings.
Save the job ID and restore progress after reload.
Show the real status, play the completed file, and allow download.
Never label a failed request as a finished video or resend creation after an uncertain timeout.Video models
Loading the live catalog…
Prices are estimates converted from TokenRex’s listed rates at ₹96 per US dollar and $0.30 per Rex credit. Actual requests follow reported usage and rounding. Token, character, image and duration prices are different units; compare within the same task. Catalog availability does not mean every feature is connected in your app.
Open TokenRex’s model catalog