Tapapi 高级图像 API · 路径 2 (C074 MVP-Tiny 10 字段)
Tapapi 自有路径 2 高级图像 endpoint · OpenAI 协议表达不了的能力。MVP-Tiny 10 字段 · 后续 D60+ 按真客户反馈渐进扩展。
当前实施字段: model / prompt / n / size (aspect_ratio 走此字段) / image_urls / seed / output_format / response_format / extra Friendly hint 字段: webhook (D60+ 实施 · 当前传值返 400) 透传袋: extra: 任意 vendor 私有字段全塞这里 (guidance_scale/safety_tolerance/lora_id 等)
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.
Authorizations
使用 Bearer Token 认证。
格式: Authorization: Bearer sk-xxxxxx
Body
模型名 · 必填
"fal-ai/flux-pro/v1.1"
提示词 · 必填
"a red apple on wooden table"
生成图片数量
1 <= x <= 10尺寸 · 接受 enum (square_hd/landscape_4_3/portrait_4_3/landscape_16_9/portrait_16_9) 或 WxH 如 1024x1024 · 也接受 aspect_ratio 比例风格 (1:1/16:9/9:16) · channel.param_override 自动映射上游字段
"square_hd"
图生图多参考图 URLs · 跨境电商主玩法 (nano-banana/Seedream 主力) · ≤ 14 张
随机种子 · 0-4294967295 · 复现同样图必用
输出格式
png, jpeg, webp 响应格式 · url 默认 · b64_json 触发 fal sync_mode 返 data URI
url, b64_json 异步回调 URL · ⚠️ D60+ 实施 · 当前传值返 400 friendly hint
"https://your-server.com/callback"
untyped 透传袋 · 任意 vendor 私有字段塞这里 · 永不冻结 · 例: guidance_scale/safety_tolerance/lora_id/acceleration/num_inference_steps/enhance_prompt/style/image_strength/controlnet_image_url