Documentation Index
Fetch the complete documentation index at: https://docs.seedhorse.ai/llms.txt
Use this file to discover all available pages before exploring further.
Seedhorse API
Generate high-quality AI videos and images from text, images, or multimodal references with a single HTTP request. This API powers the same image and video generation engine used in NanoBanana、HappyHorse、Seedance, exposed for programmatic access.What you can build
- Text-to image - generate a 4k image from a natural-language prompt
- Text-to-video - generate a video from a natural-language prompt
- Image-to-video - animate a single image or interpolate between a first and last frame
- Reference-to-video - use up to 9 reference images, 3 reference videos, and 3 reference audios to guide the generation
| Model | Type | Quality |
|---|---|---|
seedance-2.0 | Video | Highest |
HappyHorse 1.0 | Video | Highest |
Vido Q3-Pro | Video | Highest |
NanoBanana Pro | Image | Highest |
NanoBanana 2.0 | Image | Highest |
gpt-image 2.0 | Image | Highest |
- Image: Supports generation of 1K, 2K and 4K ultra-high-quality images.
- Video: Both support 480p and 720p, durations of 4–30 seconds, and optional audio track generation.
To explore more models, please visit https://www.tkhub.ai
Base URL
All requests go to:/api/v1.
Authentication
Every request must carry a Bearer token in theAuthorization header:
Getting an API key
- Sign in to your account
- Open the API Keys page — go there now →
- Click Create API Key, give it a name, and copy the generated key
Security notes
- Always use HTTPS. Requests over HTTP are rejected in production.
- Never put the key in a query string. The server rejects any request that exposes
?api_key=...or similar, because CDN/proxy logs may already have captured it. Rotate such a key immediately. - Never commit keys to git. Use environment variables.
- Keys are user-scoped. An API key inherits the credit balance and data isolation of the owning user. One user’s keys cannot access another user’s tasks.
Credit pricing
API calls consume credits from the authenticated user’s balance. Pricing is determined bymodel, duration, and resolution
Exact amounts are deducted atomically before the task is submitted. If a task fails, the full charge is refunded automatically.
If your balance is insufficient, the request returns 402 Insufficient credits. Top up from the Credits page in the studio sidebar.
Quickstart
A complete end-to-end example. Replacesk_xxxxx with your real key.
1. Submit a task
2. Poll for completion
Credits are deducted at submission time. You must call this endpoint to obtain the final task state. The response includes the live status on every call. Poll untilstatus transitions to succeeded or failed.
credits_refunded will equal credits_charged in the response.
3. Download the result
Whenstatus is succeeded, the response includes video_url:
Next steps
POST /api/v1/video/generate— full request referenceGET /api/v1/video/task/{id}— check status and retrieve results- Errors — error code reference