Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.tapapi.ai/llms.txt

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

三步:注册拿 Key → 复制代码 → 跑通。
1

注册拿 API Key

控制台 注册并创建 API Key(sk- 开头)。
2

复制代码跑通

base_url 换成 https://tapapi.ai/v1model 填模型名(见 模型清单):
curl https://tapapi.ai/v1/images/generations \
  -H "Authorization: Bearer sk-xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "z-image-turbo",
    "prompt": "a red apple on a wooden table",
    "size": "1024x1024"
  }'
3

拿到图片

返回 OpenAI 兼容格式,data[0].url 即图片地址。
需要图生图、多参考图、vendor 私有参数?用 路径 2 · 高级