Install
Configure client
The SDK sends
Authorization: Bearer <apiKey>. apisale accepts Bearer and Key schemes.List models
Generate images (sync)
Image edit endpoint
POST /v1/images/edits
Generate video (async)
Video generation is asynchronous — submit a job, then poll until complete.Python (official SDK)
Parameter mapping (images)
Errors
Errors follow OpenAI-style JSON where possible. Check:- 401 — invalid API key
- 402 — insufficient wallet balance
- 429 — concurrency or rate limit (Errors & limits)
Related
- SDK-compatible models — live ID → slug table
- REST run API — all catalog models
- Account monitoring — same API key
