Video generation
Create short video clips from text or images with Gemini Omni and Veo 3.1.
Generate videos from a text prompt or a starting image. Choose fast, low-cost drafts with Gemini Omni or the highest-quality output from Veo 3.1 — every model is billed per clip from the same wallet, at the live market price. Start a job with one POST and poll for the finished clip.
What you get
- Fast drafts or high-quality final renders
- Text-to-video and image-to-video
- Try every video model in the Playground
- Clear per-clip pricing at market price
- Same key and wallet as every other model
Common use cases
How it works
- 1Create your account and keySign up, top up your wallet and generate an API key from the dashboard.
- 2Start a video jobPOST your prompt (and optional starting image) to the videos endpoint with your chosen model.
- 3Poll for the resultGET the job until it completes, then download the finished clip.
- 4Pay per clipEach completed video is charged at the model's live per-clip market price.
Code examples
# Start a video job
curl https://tokenrex.ai/api/public/videos \
-H "Authorization: Bearer sk-tb-YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "veo-3-1", "prompt": "A paper boat sailing down a monsoon stream"}'
# Poll until the clip is ready
curl https://tokenrex.ai/api/public/videos/JOB_ID \
-H "Authorization: Bearer sk-tb-YOUR_KEY"Frequently asked questions
Which video model should I use?
Gemini Omni Flash is the fast, low-cost option for drafts; Veo 3.1 produces the highest-quality output. Compare them in the table below.
Can I start from an image?
Yes. Video models accept a text prompt or a starting image.
How is video billed?
Per generated clip at the live market price — the exact rates are listed below.