> ## 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.

# 快速入门

> 在几分钟内开始构建出色的文档

# 快速开始

欢迎使用我们的API服务！本指南将帮助您快速开始使用图像和视频生成功能。

## 第一步：获取API密钥

1. [注册账号](https://www.jimmyai.cn/register)
2. 登录您的账户,访问 [API密钥管理页面](https://open.jimmyai.cn/console?tab=apikeys)
3. 创建新的API密钥
4. 保存您的密钥（密钥只显示一次）

## 第二步：账号充值

1. 登录您的账户,访问[充值页面](https://www.jimmyai.cn/recharge)
2. 选择充值金额（最低 1 美金起）
3. 完成支付（支持支付宝、微信）

## 第三步：发送请求

获取接入信息
API 地址（所谓的 Base\_Url）：[https://www.jimmyai.cn](https://www.jimmyai.cn)
API 密钥：您刚创建的密钥

### 视频生成示例

```bash theme={null} theme={null}
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>"
  ]
}
'
```

## 第四步：查询任务状态

由于我们使用异步处理模式，您需要查询任务状态来获取结果：

```bash theme={null} theme={null}
curl --request GET \
  --url https://www.jimmyai.cn/api/open-api/v1/videos/{taskId} \
  --header 'Authorization: Bearer <token>'
```

## 下一步

<Card title="查看API文档" icon="book" href="/zh/api-reference/introduction">
  详细了解所有可用的API接口
</Card>
