Documentation Index
Fetch the complete documentation index at: https://docs.akool.com/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Request Headers
| Parameter | Value | Description |
|---|---|---|
| x-api-key | API Key | Your API Key used for request authorization. If both Authorization and x-api-key have values, Authorization will be used first and x-api-key will be discarded. |
| Authorization | Bearer {token} | Your API Key used for request authorization.Get Token |
Response Attributes
| Parameter | Type | Description |
|---|---|---|
| code | Integer | Interface returns business status code (1000:success) |
| msg | String | Interface returns status information |
| data | Object | Response data object |
| - result | Array | Array of effect objects |
| — _id | String | Effect document ID |
| — create_time | Long | Creation timestamp |
| — logo | String | Effect logo URL |
| — name | String | Effect name |
| — video_url | String | Effect preview video URL |
| — effect_code | String | Effect code |
| - count | Integer | Total number of effects |
Example
Request
Response
Important Notes
- Use the
effect_codevalue when creating videos with the Create Image to Video API - When an effect is applied, the
promptparameter will be ignored - Preview each effect using the
video_urlfield before applying - The
logofield provides a thumbnail image for displaying in your UI