Authentication
authorization string required
All APIs require authentication via Bearer Token.
Get API Key:
Visit API Key Management Page to get your API Key
Usage:
Add to request header:
Authorization: Bearer YOUR_API_KEY
Parameters
model string required
Model ID to use for the request.
Value: film_i2i
prompt string required
Image generation prompt. Length must be 1-800 characters.
image_urls array required
Input image URL list, must contain exactly one image.
seed integer
Random seed, must be -1 or positive integer.
scale number
Scale factor (image-to-image strength).
Range: 0 - 1
width integer
Image width. Must be provided together with height.
Range: 512 - 2016
height integer
Image height. Must be provided together with width.
Range: 512 - 2016
Error Codes
| Code | Description |
|---|---|
| 401 | API key is missing or invalid |
| 403 | Insufficient balance or permission denied |
| 429 | Rate limit exceeded |
| 500 | Internal server error |