Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.jimmyai.cn/llms.txt

Use this file to discover all available pages before exploring further.

Asynchronous Processing

Our API uses an asynchronous processing mode:
1

Submit Task

Send a generation request and obtain a Task ID
2

Poll Status

Periodically query the task status
3

Get Results

Obtain the generation results once the task is complete

Error Handling

Common Status Codes

CodeDescriptionSolution
20000Success
20002Invalid ParametersCheck request parameter format
20001Authentication FailedTry using a different token
-1Server ErrorPlease try again later

Best Practices

  1. Cache Usage: Generated image/video links are valid for 3 days.
  2. Error Retries: Implement an exponential backoff retry mechanism.
  3. Monitor Usage: Regularly check your API usage statistics.
  4. Secure Storage: Safely store and manage your API keys.

Support

If you encounter any issues during development, you can get help through the following channels: