文本 API 测试场
测试并探索 AI 文本生成 API
选择模型
端点
POSThttps://api.imagegpt.online/generate/text
请求头
请求体
OPENAI GPT NANO 5.04 credit
预估费用4 积分 / 1k输出Token输入Token免费
代码示例
fetch('https://api.imagegpt.online/generate/text', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-api-key': 'YOUR_API_KEY'
},
body: JSON.stringify({
"model": "OPENAI-GPT-NANO-5.4",
"prompt": "Build a simple Tic Tac Toe game using only HTML, CSS, and JavaScript with two-player turn-by-turn gameplay and a restart button after the game ends.",
"system": "You are a friendly assistant.",
"outputType": "text"
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));定价
透明按量付费
无订阅。无隐藏费用。只为生成的内容付费。
Save 20% vs official pricing
变体
等级
我们的价格
官方价格
Claude Fable 5.1
每 1k 输出 token(输入 token 免费)
$0.050
$0.062520%
* 实际费用取决于最终输出。价格以美元显示。
IMAGEGPT AI Studio禁止NSFW、色情、成人、剥削性、欺骗性或有害的AI生成内容。内容审核适用于所有支持的模型。
今天开始构建
准备好集成 Claude Fable 5.1?
获取API密钥,几分钟内开始生成。免费层无需信用卡。
- 免费层可用
- 所有计划均可API访问
- NSFW内容已屏蔽
- 99.9%正常运行时间SLA