Skip to content

快速开始

简介

伝富AI-API 提供了丰富的 AI 接口服务,包括聊天、图像生成、视频生成、音频处理等多种功能。

基础配置

API 地址

https://aiapi.winfull.top

认证方式

所有 API 请求需要在 Header 中添加 Authorization:

Authorization: Bearer YOUR_API_KEY

快速示例

聊天补全

bash
curl --location --request POST 'https://aiapi.winfull.top/v1/chat/completions' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
  "model": "gpt-4o",
  "messages": [
    {"role": "user", "content": "你好"}
  ]
}'

图像生成

bash
curl --location --request POST 'https://aiapi.winfull.top/v1/images/generations' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
  "model": "dall-e-3",
  "prompt": "一只可爱的猫咪"
}'

API 分类

最后更新于:

🚀 伝富AI-API文档 - 强大的AI接口平台