/fal-ai/bytedance/seedream/v4/text-to-image

POST /fal-ai/bytedance/seedream/v4/text-to-image

MethodPOST
Path/fal-ai/bytedance/seedream/v4/text-to-image
Typehttp
Status1
Module2102810
Folder61445274

说明

概览

MethodPOST
Path/fal-ai/bytedance/seedream/v4/text-to-image
Typehttp
Status1
Module2102810
Folder61445274

参数

{
  "query": [],
  "path": [],
  "cookie": [],
  "header": []
}

请求体

{
  "type": "application/json",
  "parameters": [],
  "jsonSchema": {
    "type": "object",
    "properties": {},
    "x-apifox-orders": []
  },
  "mediaType": "",
  "examples": [
    {
      "mediaType": "application/json",
      "value": "{\r\n  \"prompt\": \"Draw a chart showing the typical vegetation distribution in four different climate zones: tropical rainforest, temperate forest, desert, and tundra.\",\r\n  \"image_size\": {\r\n    \"height\": 1280,\r\n    \"width\": 1280\r\n  },\r\n  \"num_images\": 1,\r\n  \"enable_safety_checker\": true\r\n}"
    }
  ],
  "oasExtensions": ""
}

响应

[
  {
    "id": 767390790,
    "name": "成功",
    "code": 200,
    "contentType": "json",
    "jsonSchema": {
      "type": "object",
      "properties": {},
      "x-apifox-orders": []
    },
    "itemSchema": {},
    "description": "",
    "mediaType": "",
    "headers": [],
    "oasExtensions": ""
  }
]

响应示例

[
  {
    "name": "成功示例",
    "responseId": 767390790,
    "data": "{\r\n    \"status\": \"IN_QUEUE\",\r\n    \"request_id\": \"acf05732-7cb3-445b-9f39-fdaeccb1d730\",\r\n    \"response_url\": \"https://queue.fal.run/fal-ai/flux-pro/requests/acf05732-7cb3-445b-9f39-fdaeccb1d730\",\r\n    \"status_url\": \"https://queue.fal.run/fal-ai/flux-pro/requests/acf05732-7cb3-445b-9f39-fdaeccb1d730/status\",\r\n    \"cancel_url\": \"https://queue.fal.run/fal-ai/flux-pro/requests/acf05732-7cb3-445b-9f39-fdaeccb1d730/cancel\",\r\n    \"logs\": null,\r\n    \"metrics\": {},\r\n    \"queue_position\": 0\r\n}",
    "description": "",
    "oasKey": "",
    "oasExtensions": "",
    "id": 693718397
  }
]