1) Generate API key
- Sign in to the Unsora dashboard.
- Open API in the sidebar (
/api-keys). - Click New API Key.
- Copy the key immediately and store it in a password manager.
uns_live_....
2) Add key to request
Send the key in theAuthorization header as a Bearer token. Try it on Credits in the API playground (base URL from OpenAPI servers).
3) Verify auth
If the request returns200, your key is working.
4) Create a job
Most generation endpoints are async: See Create image for a full request URL and playground. Path:POST /image-generations/create
Poll status until COMPLETED or FAILED:
- Images / influencer / thumbnails → Poll generation status (
GET /image/status/:id) - Video (all models) → Poll video status (
GET /video/status/:id) - Music → Poll music status (
GET /music/status/:id)
- List video generations (
GET /videos/all) - Delete video generation (
DELETE /videos/:generationId)
Next steps
- Read API guide for rate limits, idempotency, and polling
- Browse endpoint reference below
Security notes
- Never expose API keys in frontend code or public repos
- Rotate keys immediately if leaked

