yoboxapi
  1. 绘图模型
yoboxapi
  • 聊天模型
    • 聊天接口(通用)
      POST
  • 绘图模型
    • nanobananapro-url 文生图(文生图)
      POST
    • nannobananapro-url(图生图)
      POST
    • gpt生图
      POST
    • gemini2.5文生图
      POST
    • gemini2.5图生图
      POST
    • gemini2.5指定比例出图
      POST
    • 图生图gemini2.5指定比例
      POST
    • nanobnanapro
      POST
    • jimeng4.0
      POST
    • replicate-nanobananapro
      POST
    • replicate-nanobanana
      POST
    • replicate-flux-2-pro
      POST
    • replicate-z-image
      POST
    • replicate-qwen-image-layered
      POST
    • imagen-4.0-文生图
      POST
    • nanobananapro-1k
      POST
    • nanobananapro-文生图
      POST
    • nanobananapro-图生图
      POST
    • nanobanana-2k-文生图
      POST
    • nanobanana-2k-图生图
      POST
  • 视频生成
    • veo3.1 (别在线调试,用 postman)带图片请求
      POST
    • 即梦请求(异步)
      POST
    • 即梦get请求
      GET
    • veo-3.1-pro-异步
      POST
    • sora2
      POST
    • sora-2-pro-异步
      POST
    • 通用异步接口(视频)
      POST
    • 通用异步接口(get)
      GET
    • 异步veo3.1多图参考
      POST
    • grok视频生成
      POST
    • jimeng-video-3.5-pro
      POST
    • seeddance-1.5-pro
      POST
    • kling-o1-edits
      POST
  • 用户信息
    • 总额度查询
    • 已用额度查询
  • comfyui-yobox
    • nanobanana
    • simop-image
  • yoboxai
    • get异步调用
    • 异步调用
  1. 绘图模型

nanobnanapro

POST
https://api3.yoboxapp.com/gemini/v1beta/models/gemini-3-pro-image-preview:generateContent

请求参数

Query 参数

Header 参数

Body 参数text/plain
示例
示例值:{ "contents": [ { "role": "user", "parts": [ { "text": "Create a vibrant infographic that explains photosynthesis as if it were a recipe for a plant's favorite food. Show the \"ingredients\" (sunlight, water, CO2) and the \"finished dish\" (sugar/energy). The style should be like a page from a colorful kids' cookbook, suitable for a 4th grader." } ] } ], "generationConfig": { "responseModalities": ["TEXT", "IMAGE"], "imageConfig": { "aspectRatio": "16:9", "imageSize": "2K" } } }

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api3.yoboxapp.com/gemini/v1beta/models/gemini-3-pro-image-preview:generateContent?key' \
--header 'Content-Type: application/json' \
--data-raw '{
  "contents": [
    {
      "role": "user",
      "parts": [
        {
          "text": "Create a vibrant infographic that explains photosynthesis as if it were a recipe for a plant'\''s favorite food. Show the \"ingredients\" (sunlight, water, CO2) and the \"finished dish\" (sugar/energy). The style should be like a page from a colorful kids'\'' cookbook, suitable for a 4th grader."
        }
      ]
    }
  ],
  "generationConfig": {
    "responseModalities": ["TEXT", "IMAGE"],
    "imageConfig": {
      "aspectRatio": "16:9",
      "imageSize": "2K"
    }
  }
}'

返回响应

🟢200成功
application/json
Body

示例
{}
修改于 2025-12-20 03:22:36
上一页
图生图gemini2.5指定比例
下一页
jimeng4.0
Built with