短视频文案 - 快手English API接口文档,AI短视频爆款文案生成API,针对抖音、快手、小红书、B站等平台优化。智能生成吸睛标题、脚本框架、转化话术,提升视频曝光与转化。Cross-platform multi-store management。支持参数说明、调用示例、在线测试。免费试用。

请求格式

POST /api/v1/hooks

请求头信息:

Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
Accept: application/json

请求参数

参数名 类型 必填 说明
platformstring是目标平台(kuaishou)
product_namestring是推广产品名称
product_categorystring是产品类目
target_audiencestring否目标受众描述
tonestring否语气风格(humorous/urgent/professional)
hook_countnumber否生成文案数量(默认5)

调用示例 - cURL

curl -X POST "https://cross.cybermagi.space/api/v1/hooks" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"platform": "kuaishou", "product_name": "智能翻译耳机", "product_category": "电子产品"}'

Python 调用示例

# Python example
import requests

API_KEY = "YOUR_API_KEY"
BASE_URL = "https://cross.cybermagi.space"

headers = {
    "Authorization": f"Bearer {API_KEY}",
    "Content-Type": "application/json"
}

data = {
    "target": "kuaishou"
}

response = requests.post(
    f"{BASE_URL}/api/v1/hooks",
    json=data,
    headers=headers
)

result = response.json()
print(result)

返回示例

{
  "success": true,
  "data": {
    "platform": "kuaishou",
    "hooks": [
      {
        "id": 1,
        "title": "99%的人都不知道的跨境电商秘籍!",
        "hook_text": "打开这个视频前,请准备好你的钱包...",
        "expected_ctr": "8.5%"
      },
      {
        "id": 2,
        "title": "只用3步,快手销量翻倍!",
        "hook_text": "这个方法太简单了,但我保证你没想到...",
        "expected_ctr": "7.2%"
      }
    ],
    "generation_time_ms": 608
  },
  "request_id": "req_hooks_kuaishou_en_7"
}
🚀 在线测试

点击返回主页,获取API密钥并在线测试