TokenAgents / API Docs

FLUX Schnell

适合快速文生图产出,响应更快。

Replicateblack-forest-labs/flux-schnelltext-to-image

FLUX Schnell

适合快速文生图产出,响应更快。

Provider
Replicate
模型 ID
black-forest-labs/flux-schnell
适用场景
text-to-image
模型信息
当前模型在 TokenAgents 中的映射说明。
模型 ID
black-forest-labs/flux-schnell
Provider
Replicate
Credits
text-to-image:2 credits
Shell 调用示例
按当前模型直接调用的 curl 模板。
curl
curl -X POST "{{baseUrl}}/api/ai/generate" \
  -H "Content-Type: application/json" \
  -H "Cookie: {{sessionCookie}}" \
  -d '{
    "provider": "replicate",
    "mediaType": "image",
    "scene": "text-to-image",
    "model": "black-forest-labs/flux-schnell",
    "prompt": "A futuristic product hero banner, blue neon lighting"
  }'
使用建议
  • 仅支持 text-to-image。