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_....
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).
Prefer to use this from Claude or ChatGPT? Add the connector.
3) Verify auth
If the request returns200, your key is working.
Prefer to work from Claude, ChatGPT or Cursor instead of writing code? The same key lets you drive the same capabilities from your assistant over MCP.
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

