Skip to main content

Quickstart

Welcome to our API service! This guide will help you quickly get started with image and video generation features.

Step 1: Get your API Key

  1. Register an account
  2. Log in to your account, and visit the API Key Management Page
  3. Create a new API Key
  4. Save your key (it will only be displayed once)

Step 2: Account Recharge

  1. Log in to your account, and visit the Recharge Page
  2. Select the recharge amount (minimum $1)
  3. Complete the payment (supports Alipay, WeChat Pay)

Step 3: Send a Request

Get connection info API Base URL: https://www.jimmyai.cn API Key: The key you just created

Video Generation Example

curl --request POST \
  --url https://www.jimmyai.cn/api/open-api/v1/videos \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "<string>",
  "prompt": "<string>",
  "duration": 123,
  "orientation": "landscape",
  "images": [
    "<string>"
  ]
}
'

Step 4: Query Task Status

Since we use an asynchronous processing mode, you need to query the task status to get the results:
curl --request GET \
  --url https://www.jimmyai.cn/api/open-api/v1/videos/{taskId} \
  --header 'Authorization: Bearer <token>'

Next Steps

View API Reference

Learn more about all available API endpoints