{
  "wando_provider": 1,
  "id": "wavespeed",
  "name": "WaveSpeedAI",
  "version": "1.2.1",
  "author": "Wando",
  "updated": "2026-10-20",
  "docs_url": "https://wavespeed.ai/docs",
  "update_url": "https://wandostudios.com/files/bblog/wavespeed.wandoprovider",
  "notes": "A proof of concept, built from WaveSpeedAI's model list and Pricing API on 2026-10-20 and not maintained. Every run is queued and Wando checks on it every 2 seconds; results come from WaveSpeed's CDN and are temporary, so Wando downloads them at once. Your images go through WaveSpeed's own upload first: a request to api.wavespeed.ai with your key, then the file itself to the storage it names, without your key. Prices are WaveSpeed's list prices at the settings you pick; WaveSpeed returns no cost, so Wando records its estimate. Masks are painted white where the image changes: WaveSpeed documents that for most models, and FLUX.1 Fill [dev] and the Bria mask models follow the same convention on Bria's and other hosts. Ideogram V4.5's edit is the exception: its docs mark the area to change in black, so its mask is sent black. Size previews: Image Upscaler's 2K, 4K and 8K are 2048, 4096 and 8192 squared pixels in your image's shape, and Recraft Crisp Upscale always returns 2048 squared pixels in your image's shape, whatever size goes in (measured; neither Recraft nor WaveSpeed documents it); the other upscalers don't say exactly, so their tabs show no size before a run. An account on a starter plan runs one job at a time: a second one answers HTTP 429 until the first finishes. If you change this file, delete update_url so an update never replaces your changes.",
  "hosts": [
    "api.wavespeed.ai"
  ],
  "auth": {
    "label": "WaveSpeedAI API key",
    "header": "Authorization",
    "prefix": "Bearer ",
    "help_url": "https://wavespeed.ai/accesskey"
  },
  "upload": {
    "request": {
      "url": "https://api.wavespeed.ai/api/v3/media/uploads",
      "body": {
        "filename": "{{file.name}}",
        "size": "{{file.size}}",
        "content_type": "{{file.mime}}"
      },
      "error": "message"
    },
    "put": {
      "url": "data.upload.url",
      "headers": "data.upload.headers"
    },
    "file_url": "data.download_url"
  },
  "models": [
    {
      "id": "nano-banana-pro",
      "label": "Nano Banana Pro",
      "group": "Google",
      "description": "Google Nano Banana Pro (Gemini 3 Pro Image): precise generation and editing up to 4K. Ultra reaches 8K, and 2 Images makes a pair for less each.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "21:9",
              "value": "21:9"
            }
          ]
        },
        {
          "key": "aspect_ratio_2",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "3:2",
          "options": [
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "2K",
              "value": "2k"
            },
            {
              "label": "4K",
              "value": "4k"
            }
          ]
        },
        {
          "key": "resolution_2",
          "label": "Resolution",
          "type": "combo",
          "default": "4k",
          "options": [
            {
              "label": "4K",
              "value": "4k"
            },
            {
              "label": "8K",
              "value": "8k"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "JPEG",
              "value": "jpeg"
            }
          ]
        }
      ],
      "references": {
        "mode": "optional",
        "max": 14,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/google/nano-banana-pro/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "resolution": {
            "1k": 0.14,
            "2k": 0.14,
            "4k": 0.24
          }
        },
        "per_image": 0.24,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "size_table": "nano-banana-pro",
      "variants": {
        "label": "Version",
        "default": "standard",
        "options": [
          {
            "id": "standard",
            "label": "Standard",
            "description": "1K, 2K or 4K.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/google/nano-banana-pro/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "aspect_ratio": "{{fields.aspect_ratio}}",
                "resolution": "{{fields.resolution}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "by_field": {
                "resolution": {
                  "1k": 0.14,
                  "2k": 0.14,
                  "4k": 0.24
                }
              },
              "per_image": 0.24,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "aspect_ratio",
              "resolution",
              "output_format"
            ],
            "size_table": "nano-banana-pro",
            "with_references": {
              "fields": [
                "aspect_ratio",
                "resolution",
                "output_format"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/google/nano-banana-pro/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "aspect_ratio": "{{fields.aspect_ratio}}",
                  "resolution": "{{fields.resolution}}",
                  "output_format": "{{fields.output_format}}"
                }
              },
              "pricing": {
                "by_field": {
                  "resolution": {
                    "1k": 0.14,
                    "2k": 0.14,
                    "4k": 0.24
                  }
                },
                "per_image": 0.24,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "size_table": "nano-banana-pro"
            },
            "without_references": {
              "fields": [
                "aspect_ratio",
                "resolution",
                "output_format"
              ]
            }
          },
          {
            "id": "ultra",
            "label": "Ultra",
            "description": "4K or 8K.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/google/nano-banana-pro/text-to-image-ultra",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "aspect_ratio": "{{fields.aspect_ratio}}",
                "resolution": "{{fields.resolution_2}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "by_field": {
                "resolution_2": {
                  "4k": 0.15,
                  "8k": 0.18
                }
              },
              "per_image": 0.18,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "aspect_ratio",
              "resolution_2",
              "output_format"
            ],
            "size_table": "nano-banana-pro",
            "with_references": {
              "fields": [
                "aspect_ratio",
                "resolution_2",
                "output_format"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/google/nano-banana-pro/edit-ultra",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "aspect_ratio": "{{fields.aspect_ratio}}",
                  "resolution": "{{fields.resolution_2}}",
                  "output_format": "{{fields.output_format}}"
                }
              },
              "pricing": {
                "by_field": {
                  "resolution_2": {
                    "4k": 0.15,
                    "8k": 0.18
                  }
                },
                "per_image": 0.18,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "size_table": "nano-banana-pro"
            },
            "without_references": {
              "fields": [
                "aspect_ratio",
                "resolution_2",
                "output_format"
              ]
            }
          },
          {
            "id": "pair",
            "label": "2 Images",
            "description": "Two images per run, in four aspect ratios.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/google/nano-banana-pro/text-to-image-multi",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "aspect_ratio": "{{fields.aspect_ratio_2}}",
                "num_images": 2,
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "per_request": 0.14,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "aspect_ratio_2",
              "output_format"
            ],
            "with_references": {
              "fields": [
                "aspect_ratio_2",
                "output_format"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/google/nano-banana-pro/edit-multi",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "aspect_ratio": "{{fields.aspect_ratio_2}}",
                  "num_images": 2,
                  "output_format": "{{fields.output_format}}"
                }
              },
              "pricing": {
                "per_request": 0.14,
                "note": "WaveSpeed's list price, from its Pricing API."
              }
            },
            "without_references": {
              "fields": [
                "aspect_ratio_2",
                "output_format"
              ]
            }
          }
        ]
      }
    },
    {
      "id": "nano-banana-2",
      "label": "Nano Banana 2",
      "group": "Google",
      "description": "Google Nano Banana 2: fast generation and editing with up to 14 images, optional web and image search, from 0.5K to 4K.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "21:9",
              "value": "21:9"
            },
            {
              "label": "1:4",
              "value": "1:4"
            },
            {
              "label": "4:1",
              "value": "4:1"
            },
            {
              "label": "1:8",
              "value": "1:8"
            },
            {
              "label": "8:1",
              "value": "8:1"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "0.5K",
              "value": "0.5k"
            },
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "2K",
              "value": "2k"
            },
            {
              "label": "4K",
              "value": "4k"
            }
          ]
        },
        {
          "key": "resolution_2",
          "label": "Resolution",
          "type": "combo",
          "default": "2k",
          "options": [
            {
              "label": "2K",
              "value": "2k"
            },
            {
              "label": "4K",
              "value": "4k"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "JPEG",
              "value": "jpeg"
            }
          ]
        },
        {
          "key": "enable_web_search",
          "label": "Web Search",
          "type": "bool",
          "default": false,
          "help": "Looks up current information for the image. Costs a little more."
        },
        {
          "key": "enable_image_search",
          "label": "Image Search",
          "type": "bool",
          "default": false,
          "help": "Looks up reference pictures for the image. Costs a little more."
        }
      ],
      "references": {
        "mode": "optional",
        "max": 14,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/google/nano-banana-2/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "enable_web_search": "{{fields.enable_web_search}}",
          "enable_image_search": "{{fields.enable_image_search}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "resolution": {
            "0.5k": 0.045,
            "1k": 0.07,
            "2k": 0.105,
            "4k": 0.14
          }
        },
        "per_image": 0.14,
        "extra_by_field": {
          "enable_web_search": {
            "true": 0.014
          },
          "enable_image_search": {
            "true": 0.014
          }
        },
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "size_table": "nano-banana-v2",
      "variants": {
        "label": "Version",
        "default": "standard",
        "options": [
          {
            "id": "standard",
            "label": "Standard",
            "description": "0.5K to 4K.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/google/nano-banana-2/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "aspect_ratio": "{{fields.aspect_ratio}}",
                "resolution": "{{fields.resolution}}",
                "enable_web_search": "{{fields.enable_web_search}}",
                "enable_image_search": "{{fields.enable_image_search}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "by_field": {
                "resolution": {
                  "0.5k": 0.045,
                  "1k": 0.07,
                  "2k": 0.105,
                  "4k": 0.14
                }
              },
              "per_image": 0.14,
              "extra_by_field": {
                "enable_web_search": {
                  "true": 0.014
                },
                "enable_image_search": {
                  "true": 0.014
                }
              },
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "aspect_ratio",
              "resolution",
              "output_format",
              "enable_web_search",
              "enable_image_search"
            ],
            "size_table": "nano-banana-v2",
            "with_references": {
              "fields": [
                "aspect_ratio",
                "resolution",
                "enable_web_search",
                "enable_image_search",
                "output_format"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/google/nano-banana-2/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "aspect_ratio": "{{fields.aspect_ratio}}",
                  "resolution": "{{fields.resolution}}",
                  "enable_web_search": "{{fields.enable_web_search}}",
                  "enable_image_search": "{{fields.enable_image_search}}",
                  "output_format": "{{fields.output_format}}"
                }
              },
              "pricing": {
                "by_field": {
                  "resolution": {
                    "0.5k": 0.045,
                    "1k": 0.07,
                    "2k": 0.105,
                    "4k": 0.14
                  }
                },
                "per_image": 0.14,
                "extra_by_field": {
                  "enable_web_search": {
                    "true": 0.014
                  },
                  "enable_image_search": {
                    "true": 0.014
                  }
                },
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "size_table": "nano-banana-v2"
            },
            "without_references": {
              "fields": [
                "aspect_ratio",
                "resolution",
                "enable_web_search",
                "enable_image_search",
                "output_format"
              ]
            }
          },
          {
            "id": "fast",
            "label": "Fast",
            "description": "Quicker and cheaper, at 2K or 4K.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/google/nano-banana-2/text-to-image-fast",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "aspect_ratio": "{{fields.aspect_ratio}}",
                "resolution": "{{fields.resolution_2}}",
                "enable_web_search": "{{fields.enable_web_search}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "by_field": {
                "resolution_2": {
                  "2k": 0.045,
                  "4k": 0.05
                }
              },
              "per_image": 0.05,
              "extra_by_field": {
                "enable_web_search": {
                  "true": 0.014
                }
              },
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "aspect_ratio",
              "resolution_2",
              "output_format",
              "enable_web_search"
            ],
            "size_table": "nano-banana-v2",
            "with_references": {
              "fields": [
                "aspect_ratio",
                "resolution_2",
                "enable_web_search",
                "output_format"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/google/nano-banana-2/edit-fast",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "aspect_ratio": "{{fields.aspect_ratio}}",
                  "resolution": "{{fields.resolution_2}}",
                  "enable_web_search": "{{fields.enable_web_search}}",
                  "output_format": "{{fields.output_format}}"
                }
              },
              "pricing": {
                "by_field": {
                  "resolution_2": {
                    "2k": 0.045,
                    "4k": 0.05
                  }
                },
                "per_image": 0.05,
                "extra_by_field": {
                  "enable_web_search": {
                    "true": 0.014
                  }
                },
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "size_table": "nano-banana-v2"
            },
            "without_references": {
              "fields": [
                "aspect_ratio",
                "resolution_2",
                "enable_web_search",
                "output_format"
              ]
            }
          }
        ]
      }
    },
    {
      "id": "nano-banana-2-1",
      "label": "Nano Banana 2.1",
      "group": "Google",
      "description": "Google Nano Banana 2.1: an update to Nano Banana 2 with sharper text and steadier characters, up to 14 images, optional web and image search, from 1K to 4K.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "21:9",
              "value": "21:9"
            },
            {
              "label": "1:4",
              "value": "1:4"
            },
            {
              "label": "4:1",
              "value": "4:1"
            },
            {
              "label": "1:8",
              "value": "1:8"
            },
            {
              "label": "8:1",
              "value": "8:1"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "2K",
              "value": "2k"
            },
            {
              "label": "4K",
              "value": "4k"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "JPEG",
              "value": "jpeg"
            }
          ]
        },
        {
          "key": "enable_web_search",
          "label": "Web Search",
          "type": "bool",
          "default": false,
          "help": "Looks up current information for the image. Costs a little more."
        },
        {
          "key": "enable_image_search",
          "label": "Image Search",
          "type": "bool",
          "default": false,
          "help": "Looks up reference pictures for the image. Costs a little more."
        }
      ],
      "references": {
        "mode": "optional",
        "max": 14,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/google/nano-banana-2.1/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "enable_web_search": "{{fields.enable_web_search}}",
          "enable_image_search": "{{fields.enable_image_search}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "resolution": {
            "1k": 0.04,
            "2k": 0.06,
            "4k": 0.135
          }
        },
        "per_image": 0.135,
        "extra_by_field": {
          "enable_web_search": {
            "true": 0.014
          },
          "enable_image_search": {
            "true": 0.014
          }
        },
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "size_table": "nano-banana-v2-1",
      "without_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "enable_web_search",
          "enable_image_search",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "enable_web_search",
          "enable_image_search",
          "output_format"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/google/nano-banana-2.1/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "aspect_ratio": "{{fields.aspect_ratio}}",
            "resolution": "{{fields.resolution}}",
            "enable_web_search": "{{fields.enable_web_search}}",
            "enable_image_search": "{{fields.enable_image_search}}",
            "output_format": "{{fields.output_format}}"
          }
        },
        "pricing": {
          "by_field": {
            "resolution": {
              "1k": 0.042,
              "2k": 0.062,
              "4k": 0.137
            }
          },
          "per_image": 0.137,
          "extra_by_field": {
            "enable_web_search": {
              "true": 0.014
            },
            "enable_image_search": {
              "true": 0.014
            }
          },
          "per_input_image": 0.002,
          "free_input_images": 1,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "size_table": "nano-banana-v2-1"
      }
    },
    {
      "id": "nano-banana-2-lite",
      "label": "Nano Banana 2 Lite",
      "group": "Google",
      "description": "A lighter, cheaper Nano Banana 2 for quick 1K generation and editing.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "21:9",
              "value": "21:9"
            },
            {
              "label": "1:4",
              "value": "1:4"
            },
            {
              "label": "4:1",
              "value": "4:1"
            },
            {
              "label": "1:8",
              "value": "1:8"
            },
            {
              "label": "8:1",
              "value": "8:1"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "JPEG",
              "value": "jpeg"
            }
          ]
        }
      ],
      "references": {
        "mode": "optional",
        "max": 14,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/google/nano-banana-2-lite/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "size_table": "nano-banana-v2-lite",
      "without_references": {
        "fields": [
          "aspect_ratio",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "aspect_ratio",
          "output_format"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/google/nano-banana-2-lite/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "aspect_ratio": "{{fields.aspect_ratio}}",
            "output_format": "{{fields.output_format}}"
          }
        },
        "pricing": {
          "per_image": 0.04,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "size_table": "nano-banana-v2-lite"
      }
    },
    {
      "id": "nano-banana",
      "label": "Nano Banana",
      "group": "Google",
      "description": "Google Nano Banana (Gemini 2.5 Flash Image): generation and editing with up to 10 images.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "21:9",
              "value": "21:9"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "JPEG",
              "value": "jpeg"
            }
          ]
        }
      ],
      "references": {
        "mode": "optional",
        "max": 10,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/google/nano-banana/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.038,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "size_table": "nano-banana",
      "without_references": {
        "fields": [
          "aspect_ratio",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "aspect_ratio",
          "output_format"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/google/nano-banana/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "aspect_ratio": "{{fields.aspect_ratio}}",
            "output_format": "{{fields.output_format}}"
          }
        },
        "pricing": {
          "per_image": 0.038,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "size_table": "nano-banana"
      }
    },
    {
      "id": "gpt-image-2",
      "label": "GPT Image 2",
      "group": "OpenAI",
      "description": "OpenAI GPT Image 2: strong prompt following and lettering, up to 4K. Add up to 16 images to edit them.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "1:2",
              "value": "1:2"
            },
            {
              "label": "2:1",
              "value": "2:1"
            },
            {
              "label": "1:3",
              "value": "1:3"
            },
            {
              "label": "3:1",
              "value": "3:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:21",
              "value": "9:21"
            },
            {
              "label": "21:9",
              "value": "21:9"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "2K",
              "value": "2k"
            },
            {
              "label": "4K",
              "value": "4k"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "quality",
          "label": "Quality",
          "type": "combo",
          "default": "medium",
          "options": [
            {
              "label": "Low",
              "value": "low"
            },
            {
              "label": "Medium",
              "value": "medium"
            },
            {
              "label": "High",
              "value": "high"
            }
          ]
        }
      ],
      "references": {
        "mode": "optional",
        "max": 16,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/openai/gpt-image-2/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "quality": "{{fields.quality}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "quality": {
            "low": {
              "resolution": {
                "1k": 0.01,
                "2k": 0.02,
                "4k": 0.03
              }
            },
            "medium": {
              "resolution": {
                "1k": 0.06,
                "2k": 0.1,
                "4k": 0.18
              }
            },
            "high": {
              "resolution": {
                "1k": 0.22,
                "2k": 0.4,
                "4k": 0.72
              }
            }
          }
        },
        "per_image": 0.72,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "quality",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "quality",
          "output_format"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/openai/gpt-image-2/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "aspect_ratio": "{{fields.aspect_ratio}}",
            "resolution": "{{fields.resolution}}",
            "quality": "{{fields.quality}}",
            "output_format": "{{fields.output_format}}"
          }
        },
        "pricing": {
          "by_field": {
            "quality": {
              "low": {
                "resolution": {
                  "1k": 0.02,
                  "2k": 0.03,
                  "4k": 0.04
                }
              },
              "medium": {
                "resolution": {
                  "1k": 0.07,
                  "2k": 0.11,
                  "4k": 0.19
                }
              },
              "high": {
                "resolution": {
                  "1k": 0.23,
                  "2k": 0.41,
                  "4k": 0.73
                }
              }
            }
          },
          "per_image": 0.73,
          "per_input_image": 0.012,
          "free_input_images": 1,
          "note": "WaveSpeed's list price, from its Pricing API."
        }
      }
    },
    {
      "id": "gpt-image-2-5",
      "label": "GPT Image 2.5",
      "group": "OpenAI",
      "description": "OpenAI GPT Image 2.5, up to 4K with five quality tiers. Flare is the fast everyday model; Sunburst makes more careful edits.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "1:2",
              "value": "1:2"
            },
            {
              "label": "2:1",
              "value": "2:1"
            },
            {
              "label": "1:3",
              "value": "1:3"
            },
            {
              "label": "3:1",
              "value": "3:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:21",
              "value": "9:21"
            },
            {
              "label": "21:9",
              "value": "21:9"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "2K",
              "value": "2k"
            },
            {
              "label": "4K",
              "value": "4k"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "quality",
          "label": "Quality",
          "type": "combo",
          "default": "medium",
          "options": [
            {
              "label": "Low",
              "value": "low"
            },
            {
              "label": "Medium",
              "value": "medium"
            },
            {
              "label": "High",
              "value": "high"
            },
            {
              "label": "Extra High",
              "value": "xhigh"
            },
            {
              "label": "Max",
              "value": "max"
            }
          ]
        }
      ],
      "references": {
        "mode": "optional",
        "max": 16,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/openai/gpt-image-2.5-flare/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "quality": "{{fields.quality}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "quality": {
            "low": {
              "resolution": {
                "1k": 0.01,
                "2k": 0.02,
                "4k": 0.03
              }
            },
            "medium": {
              "resolution": {
                "1k": 0.024,
                "2k": 0.04,
                "4k": 0.07
              }
            },
            "high": {
              "resolution": {
                "1k": 0.09,
                "2k": 0.15,
                "4k": 0.27
              }
            },
            "xhigh": {
              "resolution": {
                "1k": 0.16,
                "2k": 0.27,
                "4k": 0.48
              }
            },
            "max": {
              "resolution": {
                "1k": 0.36,
                "2k": 0.6,
                "4k": 1
              }
            }
          }
        },
        "per_image": 1,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "variants": {
        "label": "Version",
        "default": "flare",
        "options": [
          {
            "id": "flare",
            "label": "Flare",
            "description": "Fast everyday generation and editing.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/openai/gpt-image-2.5-flare/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "aspect_ratio": "{{fields.aspect_ratio}}",
                "resolution": "{{fields.resolution}}",
                "quality": "{{fields.quality}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "by_field": {
                "quality": {
                  "low": {
                    "resolution": {
                      "1k": 0.01,
                      "2k": 0.02,
                      "4k": 0.03
                    }
                  },
                  "medium": {
                    "resolution": {
                      "1k": 0.024,
                      "2k": 0.04,
                      "4k": 0.07
                    }
                  },
                  "high": {
                    "resolution": {
                      "1k": 0.09,
                      "2k": 0.15,
                      "4k": 0.27
                    }
                  },
                  "xhigh": {
                    "resolution": {
                      "1k": 0.16,
                      "2k": 0.27,
                      "4k": 0.48
                    }
                  },
                  "max": {
                    "resolution": {
                      "1k": 0.36,
                      "2k": 0.6,
                      "4k": 1
                    }
                  }
                }
              },
              "per_image": 1,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "with_references": {
              "fields": [
                "aspect_ratio",
                "resolution",
                "quality",
                "output_format"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/openai/gpt-image-2.5-flare/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "aspect_ratio": "{{fields.aspect_ratio}}",
                  "resolution": "{{fields.resolution}}",
                  "quality": "{{fields.quality}}",
                  "output_format": "{{fields.output_format}}"
                }
              },
              "pricing": {
                "by_field": {
                  "quality": {
                    "low": {
                      "resolution": {
                        "1k": 0.025,
                        "2k": 0.035,
                        "4k": 0.045
                      }
                    },
                    "medium": {
                      "resolution": {
                        "1k": 0.039,
                        "2k": 0.055,
                        "4k": 0.085
                      }
                    },
                    "high": {
                      "resolution": {
                        "1k": 0.105,
                        "2k": 0.165,
                        "4k": 0.285
                      }
                    },
                    "xhigh": {
                      "resolution": {
                        "1k": 0.175,
                        "2k": 0.285,
                        "4k": 0.495
                      }
                    },
                    "max": {
                      "resolution": {
                        "1k": 0.375,
                        "2k": 0.615,
                        "4k": 1.015
                      }
                    }
                  }
                },
                "per_image": 1.015,
                "per_input_image": 0.015,
                "free_input_images": 1,
                "note": "WaveSpeed's list price, from its Pricing API."
              }
            },
            "without_references": {
              "fields": [
                "aspect_ratio",
                "resolution",
                "quality",
                "output_format"
              ]
            }
          },
          {
            "id": "sunburst",
            "label": "Sunburst",
            "description": "Premium generation and careful edits.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/openai/gpt-image-2.5-sunburst/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "aspect_ratio": "{{fields.aspect_ratio}}",
                "resolution": "{{fields.resolution}}",
                "quality": "{{fields.quality}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "by_field": {
                "quality": {
                  "low": {
                    "resolution": {
                      "1k": 0.01,
                      "2k": 0.02,
                      "4k": 0.03
                    }
                  },
                  "medium": {
                    "resolution": {
                      "1k": 0.024,
                      "2k": 0.04,
                      "4k": 0.07
                    }
                  },
                  "high": {
                    "resolution": {
                      "1k": 0.09,
                      "2k": 0.15,
                      "4k": 0.27
                    }
                  },
                  "xhigh": {
                    "resolution": {
                      "1k": 0.16,
                      "2k": 0.27,
                      "4k": 0.48
                    }
                  },
                  "max": {
                    "resolution": {
                      "1k": 0.36,
                      "2k": 0.6,
                      "4k": 1
                    }
                  }
                }
              },
              "per_image": 1,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "with_references": {
              "fields": [
                "aspect_ratio",
                "resolution",
                "quality",
                "output_format"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/openai/gpt-image-2.5-sunburst/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "aspect_ratio": "{{fields.aspect_ratio}}",
                  "resolution": "{{fields.resolution}}",
                  "quality": "{{fields.quality}}",
                  "output_format": "{{fields.output_format}}"
                }
              },
              "pricing": {
                "by_field": {
                  "quality": {
                    "low": {
                      "resolution": {
                        "1k": 0.025,
                        "2k": 0.035,
                        "4k": 0.045
                      }
                    },
                    "medium": {
                      "resolution": {
                        "1k": 0.039,
                        "2k": 0.055,
                        "4k": 0.085
                      }
                    },
                    "high": {
                      "resolution": {
                        "1k": 0.105,
                        "2k": 0.165,
                        "4k": 0.285
                      }
                    },
                    "xhigh": {
                      "resolution": {
                        "1k": 0.175,
                        "2k": 0.285,
                        "4k": 0.495
                      }
                    },
                    "max": {
                      "resolution": {
                        "1k": 0.375,
                        "2k": 0.615,
                        "4k": 1.015
                      }
                    }
                  }
                },
                "per_image": 1.015,
                "per_input_image": 0.015,
                "free_input_images": 1,
                "note": "WaveSpeed's list price, from its Pricing API."
              }
            },
            "without_references": {
              "fields": [
                "aspect_ratio",
                "resolution",
                "quality",
                "output_format"
              ]
            }
          }
        ]
      }
    },
    {
      "id": "gpt-image-1-5",
      "label": "GPT Image 1.5",
      "group": "OpenAI",
      "description": "OpenAI GPT Image 1.5 with transparent backgrounds. Add images to edit them.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "auto",
          "options": [
            {
              "label": "Auto",
              "value": "auto"
            },
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "2:3 (1024 x 1536)",
              "value": "1024*1536"
            },
            {
              "label": "3:2 (1536 x 1024)",
              "value": "1536*1024"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            }
          ]
        },
        {
          "key": "quality",
          "label": "Quality",
          "type": "combo",
          "default": "medium",
          "options": [
            {
              "label": "Low",
              "value": "low"
            },
            {
              "label": "Medium",
              "value": "medium"
            },
            {
              "label": "High",
              "value": "high"
            }
          ]
        },
        {
          "key": "background",
          "label": "Background",
          "type": "combo",
          "default": "opaque",
          "options": [
            {
              "label": "Auto",
              "value": "auto"
            },
            {
              "label": "Transparent",
              "value": "transparent"
            },
            {
              "label": "Opaque",
              "value": "opaque"
            }
          ],
          "help": "Transparent needs PNG. Opaque is the default; Auto lets the model choose."
        },
        {
          "key": "input_fidelity",
          "label": "Input Fidelity",
          "type": "combo",
          "default": "high",
          "options": [
            {
              "label": "Low",
              "value": "low"
            },
            {
              "label": "High",
              "value": "high"
            }
          ],
          "help": "High keeps faces and logos from your images more faithfully."
        }
      ],
      "references": {
        "mode": "optional",
        "max": 10,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/openai/gpt-image-1.5/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "quality": "{{fields.quality}}",
          "background": "{{fields.background}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "quality": {
            "low": {
              "size": {
                "auto": 0.02,
                "1024*1024": 0.01,
                "1024*1536": 0.02,
                "1536*1024": 0.02
              }
            },
            "medium": {
              "size": {
                "auto": 0.06,
                "1024*1024": 0.04,
                "1024*1536": 0.06,
                "1536*1024": 0.06
              }
            },
            "high": {
              "size": {
                "auto": 0.21,
                "1024*1024": 0.14,
                "1024*1536": 0.21,
                "1536*1024": 0.21
              }
            }
          }
        },
        "per_image": 0.21,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "2:3",
          "width": 1024,
          "height": 1536,
          "values": {
            "size": "1024*1536"
          }
        },
        {
          "aspect": "3:2",
          "width": 1536,
          "height": 1024,
          "values": {
            "size": "1536*1024"
          }
        }
      ],
      "without_references": {
        "fields": [
          "size",
          "quality",
          "background",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "size",
          "background",
          "quality",
          "input_fidelity",
          "output_format"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/openai/gpt-image-1.5/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "size": "{{fields.size}}",
            "background": "{{fields.background}}",
            "quality": "{{fields.quality}}",
            "input_fidelity": "{{fields.input_fidelity}}",
            "output_format": "{{fields.output_format}}"
          }
        },
        "pricing": {
          "by_field": {
            "quality": {
              "low": {
                "size": {
                  "auto": 0.02,
                  "1024*1024": 0.01,
                  "1024*1536": 0.02,
                  "1536*1024": 0.02
                }
              },
              "medium": {
                "size": {
                  "auto": 0.06,
                  "1024*1024": 0.04,
                  "1024*1536": 0.06,
                  "1536*1024": 0.06
                }
              },
              "high": {
                "size": {
                  "auto": 0.2,
                  "1024*1024": 0.14,
                  "1024*1536": 0.2,
                  "1536*1024": 0.2
                }
              }
            }
          },
          "per_image": 0.2,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "sizes": [
          {
            "aspect": "1:1",
            "width": 1024,
            "height": 1024,
            "values": {
              "size": "1024*1024"
            }
          },
          {
            "aspect": "2:3",
            "width": 1024,
            "height": 1536,
            "values": {
              "size": "1024*1536"
            }
          },
          {
            "aspect": "3:2",
            "width": 1536,
            "height": 1024,
            "values": {
              "size": "1536*1024"
            }
          }
        ]
      }
    },
    {
      "id": "flux-3",
      "label": "FLUX 3",
      "group": "FLUX",
      "description": "Black Forest Labs FLUX 3: detailed composition and lettering at 1K, 2K or 4K. Add up to 10 images to edit or combine them.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "21:9",
              "value": "21:9"
            },
            {
              "label": "2:1",
              "value": "2:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "7:5",
              "value": "7:5"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "5:7",
              "value": "5:7"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "1:2",
              "value": "1:2"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "2K",
              "value": "2k"
            },
            {
              "label": "4K",
              "value": "4k"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            }
          ]
        },
        {
          "key": "enable_prompt_expansion",
          "label": "Rewrite Prompt",
          "type": "bool",
          "default": false,
          "help": "The model adds detail to your prompt. Turn it off to keep your exact words."
        }
      ],
      "references": {
        "mode": "optional",
        "max": 10,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/black-forest-labs/flux-3/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "output_format": "{{fields.output_format}}",
          "enable_prompt_expansion": "{{fields.enable_prompt_expansion}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "resolution": {
            "1k": 0.05,
            "2k": 0.12,
            "4k": 0.65
          }
        },
        "per_image": 0.65,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "output_format",
          "enable_prompt_expansion"
        ]
      },
      "with_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "output_format",
          "enable_prompt_expansion"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/black-forest-labs/flux-3/image-edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "aspect_ratio": "{{fields.aspect_ratio}}",
            "resolution": "{{fields.resolution}}",
            "output_format": "{{fields.output_format}}",
            "enable_prompt_expansion": "{{fields.enable_prompt_expansion}}"
          }
        },
        "pricing": {
          "by_field": {
            "resolution": {
              "1k": 0.05,
              "2k": 0.12,
              "4k": 0.65
            }
          },
          "per_image": 0.65,
          "note": "WaveSpeed's list price, from its Pricing API."
        }
      }
    },
    {
      "id": "flux-3-klein",
      "label": "FLUX 3 Klein",
      "group": "FLUX",
      "description": "FLUX 3 Klein, the smaller, faster FLUX 3, at 1K, 1.5K or 2K. Add up to 3 images to edit them. Base takes more steps for more variety.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "1:2",
              "value": "1:2"
            },
            {
              "label": "2:1",
              "value": "2:1"
            },
            {
              "label": "1:3",
              "value": "1:3"
            },
            {
              "label": "3:1",
              "value": "3:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:21",
              "value": "9:21"
            },
            {
              "label": "21:9",
              "value": "21:9"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "1.5K",
              "value": "1.5k"
            },
            {
              "label": "2K",
              "value": "2k"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 3,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-3-klein-image-distilled/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "output_format": "{{fields.output_format}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "resolution": {
            "1k": 0.01,
            "1.5k": 0.02,
            "2k": 0.04
          }
        },
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "size_table": "flux3-klein",
      "variants": {
        "label": "Version",
        "default": "distilled",
        "options": [
          {
            "id": "distilled",
            "label": "Distilled",
            "description": "The fastest and cheapest.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-3-klein-image-distilled/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "aspect_ratio": "{{fields.aspect_ratio}}",
                "resolution": "{{fields.resolution}}",
                "output_format": "{{fields.output_format}}",
                "seed": "{{fields.seed}}"
              }
            },
            "pricing": {
              "by_field": {
                "resolution": {
                  "1k": 0.01,
                  "1.5k": 0.02,
                  "2k": 0.04
                }
              },
              "per_image": 0.04,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "size_table": "flux3-klein",
            "with_references": {
              "fields": [
                "aspect_ratio",
                "resolution",
                "output_format",
                "seed"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-3-klein-image-distilled/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "aspect_ratio": "{{fields.aspect_ratio}}",
                  "resolution": "{{fields.resolution}}",
                  "output_format": "{{fields.output_format}}",
                  "seed": "{{fields.seed}}"
                }
              },
              "pricing": {
                "by_field": {
                  "resolution": {
                    "1k": 0.016,
                    "1.5k": 0.032,
                    "2k": 0.064
                  }
                },
                "per_image": 0.064,
                "per_input_image": 0.005,
                "free_input_images": 1,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "size_table": "flux3-klein"
            },
            "without_references": {
              "fields": [
                "aspect_ratio",
                "resolution",
                "output_format",
                "seed"
              ]
            }
          },
          {
            "id": "base",
            "label": "Base",
            "description": "The undistilled model: more variety.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-3-klein-image-base/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "aspect_ratio": "{{fields.aspect_ratio}}",
                "resolution": "{{fields.resolution}}",
                "output_format": "{{fields.output_format}}",
                "seed": "{{fields.seed}}"
              }
            },
            "pricing": {
              "by_field": {
                "resolution": {
                  "1k": 0.03,
                  "1.5k": 0.06,
                  "2k": 0.12
                }
              },
              "per_image": 0.12,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "size_table": "flux3-klein",
            "with_references": {
              "fields": [
                "aspect_ratio",
                "resolution",
                "output_format",
                "seed"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-3-klein-image-base/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "aspect_ratio": "{{fields.aspect_ratio}}",
                  "resolution": "{{fields.resolution}}",
                  "output_format": "{{fields.output_format}}",
                  "seed": "{{fields.seed}}"
                }
              },
              "pricing": {
                "by_field": {
                  "resolution": {
                    "1k": 0.045,
                    "1.5k": 0.09,
                    "2k": 0.18
                  }
                },
                "per_image": 0.18,
                "per_input_image": 0.025,
                "free_input_images": 1,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "size_table": "flux3-klein"
            },
            "without_references": {
              "fields": [
                "aspect_ratio",
                "resolution",
                "output_format",
                "seed"
              ]
            }
          }
        ]
      }
    },
    {
      "id": "flux-2-pro",
      "label": "FLUX.2 [pro]",
      "group": "FLUX",
      "description": "Black Forest Labs FLUX.2 [pro]. Add up to 3 images to edit or combine them.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            },
            {
              "label": "1:1 (2000 x 2000)",
              "value": "2000*2000"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 3,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-pro/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.03,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "tier": "1K",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "tier": "1K",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "tier": "1K",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "tier": "1K",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "tier": "1K",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "tier": "1K",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "tier": "1K",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        },
        {
          "aspect": "1:1",
          "tier": "4MP",
          "width": 2000,
          "height": 2000,
          "values": {
            "size": "2000*2000"
          }
        }
      ],
      "without_references": {
        "fields": [
          "size",
          "seed"
        ]
      },
      "with_references": {
        "fields": [
          "size",
          "seed"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-pro/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "size": "{{fields.size}}",
            "seed": "{{fields.seed}}"
          }
        },
        "pricing": {
          "per_image": 0.06,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "sizes": [
          {
            "aspect": "1:1",
            "tier": "1K",
            "width": 1024,
            "height": 1024,
            "values": {
              "size": "1024*1024"
            }
          },
          {
            "aspect": "4:3",
            "tier": "1K",
            "width": 1152,
            "height": 864,
            "values": {
              "size": "1152*864"
            }
          },
          {
            "aspect": "3:4",
            "tier": "1K",
            "width": 864,
            "height": 1152,
            "values": {
              "size": "864*1152"
            }
          },
          {
            "aspect": "3:2",
            "tier": "1K",
            "width": 1248,
            "height": 832,
            "values": {
              "size": "1248*832"
            }
          },
          {
            "aspect": "2:3",
            "tier": "1K",
            "width": 832,
            "height": 1248,
            "values": {
              "size": "832*1248"
            }
          },
          {
            "aspect": "16:9",
            "tier": "1K",
            "width": 1360,
            "height": 768,
            "values": {
              "size": "1360*768"
            }
          },
          {
            "aspect": "9:16",
            "tier": "1K",
            "width": 768,
            "height": 1360,
            "values": {
              "size": "768*1360"
            }
          },
          {
            "aspect": "1:1",
            "tier": "4MP",
            "width": 2000,
            "height": 2000,
            "values": {
              "size": "2000*2000"
            }
          }
        ]
      }
    },
    {
      "id": "flux-2-max",
      "label": "FLUX.2 [max]",
      "group": "FLUX",
      "description": "FLUX.2 [max], Black Forest Labs' strongest model. Add up to 3 images to edit them.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            },
            {
              "label": "1:1 (2000 x 2000)",
              "value": "2000*2000"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 3,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-max/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.07,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "tier": "1K",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "tier": "1K",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "tier": "1K",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "tier": "1K",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "tier": "1K",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "tier": "1K",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "tier": "1K",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        },
        {
          "aspect": "1:1",
          "tier": "4MP",
          "width": 2000,
          "height": 2000,
          "values": {
            "size": "2000*2000"
          }
        }
      ],
      "without_references": {
        "fields": [
          "size",
          "seed"
        ]
      },
      "with_references": {
        "fields": [
          "size",
          "seed"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-max/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "size": "{{fields.size}}",
            "seed": "{{fields.seed}}"
          }
        },
        "pricing": {
          "per_image": 0.07,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "sizes": [
          {
            "aspect": "1:1",
            "tier": "1K",
            "width": 1024,
            "height": 1024,
            "values": {
              "size": "1024*1024"
            }
          },
          {
            "aspect": "4:3",
            "tier": "1K",
            "width": 1152,
            "height": 864,
            "values": {
              "size": "1152*864"
            }
          },
          {
            "aspect": "3:4",
            "tier": "1K",
            "width": 864,
            "height": 1152,
            "values": {
              "size": "864*1152"
            }
          },
          {
            "aspect": "3:2",
            "tier": "1K",
            "width": 1248,
            "height": 832,
            "values": {
              "size": "1248*832"
            }
          },
          {
            "aspect": "2:3",
            "tier": "1K",
            "width": 832,
            "height": 1248,
            "values": {
              "size": "832*1248"
            }
          },
          {
            "aspect": "16:9",
            "tier": "1K",
            "width": 1360,
            "height": 768,
            "values": {
              "size": "1360*768"
            }
          },
          {
            "aspect": "9:16",
            "tier": "1K",
            "width": 768,
            "height": 1360,
            "values": {
              "size": "768*1360"
            }
          },
          {
            "aspect": "1:1",
            "tier": "4MP",
            "width": 2000,
            "height": 2000,
            "values": {
              "size": "2000*2000"
            }
          }
        ]
      }
    },
    {
      "id": "flux-2-flex",
      "label": "FLUX.2 [flex]",
      "group": "FLUX",
      "description": "FLUX.2 [flex], tuned for precise text and detail. Add up to 3 images to edit them.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            },
            {
              "label": "1:1 (2000 x 2000)",
              "value": "2000*2000"
            }
          ]
        },
        {
          "key": "size_2",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 3,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-flex/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.06,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "tier": "1K",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "tier": "1K",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "tier": "1K",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "tier": "1K",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "tier": "1K",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "tier": "1K",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "tier": "1K",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        },
        {
          "aspect": "1:1",
          "tier": "4MP",
          "width": 2000,
          "height": 2000,
          "values": {
            "size": "2000*2000"
          }
        }
      ],
      "without_references": {
        "fields": [
          "size",
          "seed"
        ]
      },
      "with_references": {
        "fields": [
          "size_2",
          "seed"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-flex/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "size": "{{fields.size_2}}",
            "seed": "{{fields.seed}}"
          }
        },
        "pricing": {
          "per_image": 0.12,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "sizes": [
          {
            "aspect": "1:1",
            "width": 1024,
            "height": 1024,
            "values": {
              "size_2": "1024*1024"
            }
          },
          {
            "aspect": "4:3",
            "width": 1152,
            "height": 864,
            "values": {
              "size_2": "1152*864"
            }
          },
          {
            "aspect": "3:4",
            "width": 864,
            "height": 1152,
            "values": {
              "size_2": "864*1152"
            }
          },
          {
            "aspect": "3:2",
            "width": 1248,
            "height": 832,
            "values": {
              "size_2": "1248*832"
            }
          },
          {
            "aspect": "2:3",
            "width": 832,
            "height": 1248,
            "values": {
              "size_2": "832*1248"
            }
          },
          {
            "aspect": "16:9",
            "width": 1360,
            "height": 768,
            "values": {
              "size_2": "1360*768"
            }
          },
          {
            "aspect": "9:16",
            "width": 768,
            "height": 1360,
            "values": {
              "size_2": "768*1360"
            }
          }
        ]
      }
    },
    {
      "id": "flux-2-dev",
      "label": "FLUX.2 [dev]",
      "group": "FLUX",
      "description": "FLUX.2 [dev], the open model. Add up to 3 images to edit them.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            },
            {
              "label": "1:1 (2000 x 2000)",
              "value": "2000*2000"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 3,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-dev/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.012,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "tier": "1K",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "tier": "1K",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "tier": "1K",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "tier": "1K",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "tier": "1K",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "tier": "1K",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "tier": "1K",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        },
        {
          "aspect": "1:1",
          "tier": "4MP",
          "width": 2000,
          "height": 2000,
          "values": {
            "size": "2000*2000"
          }
        }
      ],
      "without_references": {
        "fields": [
          "size",
          "seed"
        ]
      },
      "with_references": {
        "fields": [
          "size",
          "seed"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-dev/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "size": "{{fields.size}}",
            "seed": "{{fields.seed}}"
          }
        },
        "pricing": {
          "per_image": 0.024,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "sizes": [
          {
            "aspect": "1:1",
            "tier": "1K",
            "width": 1024,
            "height": 1024,
            "values": {
              "size": "1024*1024"
            }
          },
          {
            "aspect": "4:3",
            "tier": "1K",
            "width": 1152,
            "height": 864,
            "values": {
              "size": "1152*864"
            }
          },
          {
            "aspect": "3:4",
            "tier": "1K",
            "width": 864,
            "height": 1152,
            "values": {
              "size": "864*1152"
            }
          },
          {
            "aspect": "3:2",
            "tier": "1K",
            "width": 1248,
            "height": 832,
            "values": {
              "size": "1248*832"
            }
          },
          {
            "aspect": "2:3",
            "tier": "1K",
            "width": 832,
            "height": 1248,
            "values": {
              "size": "832*1248"
            }
          },
          {
            "aspect": "16:9",
            "tier": "1K",
            "width": 1360,
            "height": 768,
            "values": {
              "size": "1360*768"
            }
          },
          {
            "aspect": "9:16",
            "tier": "1K",
            "width": 768,
            "height": 1360,
            "values": {
              "size": "768*1360"
            }
          },
          {
            "aspect": "1:1",
            "tier": "4MP",
            "width": 2000,
            "height": 2000,
            "values": {
              "size": "2000*2000"
            }
          }
        ]
      }
    },
    {
      "id": "flux-2-flash",
      "label": "FLUX.2 [flash]",
      "group": "FLUX",
      "description": "FLUX.2 [flash] and [turbo]: fast FLUX.2 generation and editing with up to 4 images.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            },
            {
              "label": "1:1 (2000 x 2000)",
              "value": "2000*2000"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 4,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-flash/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.025,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "tier": "1K",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "tier": "1K",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "tier": "1K",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "tier": "1K",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "tier": "1K",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "tier": "1K",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "tier": "1K",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        },
        {
          "aspect": "1:1",
          "tier": "4MP",
          "width": 2000,
          "height": 2000,
          "values": {
            "size": "2000*2000"
          }
        }
      ],
      "variants": {
        "label": "Version",
        "default": "flash",
        "options": [
          {
            "id": "flash",
            "label": "Flash",
            "description": "Realistic images with crisp text.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-flash/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}",
                "seed": "{{fields.seed}}"
              }
            },
            "pricing": {
              "per_image": 0.025,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "sizes": [
              {
                "aspect": "1:1",
                "tier": "1K",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "tier": "1K",
                "width": 1152,
                "height": 864,
                "values": {
                  "size": "1152*864"
                }
              },
              {
                "aspect": "3:4",
                "tier": "1K",
                "width": 864,
                "height": 1152,
                "values": {
                  "size": "864*1152"
                }
              },
              {
                "aspect": "3:2",
                "tier": "1K",
                "width": 1248,
                "height": 832,
                "values": {
                  "size": "1248*832"
                }
              },
              {
                "aspect": "2:3",
                "tier": "1K",
                "width": 832,
                "height": 1248,
                "values": {
                  "size": "832*1248"
                }
              },
              {
                "aspect": "16:9",
                "tier": "1K",
                "width": 1360,
                "height": 768,
                "values": {
                  "size": "1360*768"
                }
              },
              {
                "aspect": "9:16",
                "tier": "1K",
                "width": 768,
                "height": 1360,
                "values": {
                  "size": "768*1360"
                }
              },
              {
                "aspect": "1:1",
                "tier": "4MP",
                "width": 2000,
                "height": 2000,
                "values": {
                  "size": "2000*2000"
                }
              }
            ],
            "with_references": {
              "fields": [
                "size",
                "seed"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-flash/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "size": "{{fields.size}}",
                  "seed": "{{fields.seed}}"
                }
              },
              "pricing": {
                "per_image": 0.03,
                "per_input_image": 0.005,
                "free_input_images": 1,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "sizes": [
                {
                  "aspect": "1:1",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1024,
                  "values": {
                    "size": "1024*1024"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "1K",
                  "width": 1152,
                  "height": 864,
                  "values": {
                    "size": "1152*864"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "1K",
                  "width": 864,
                  "height": 1152,
                  "values": {
                    "size": "864*1152"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "1K",
                  "width": 1248,
                  "height": 832,
                  "values": {
                    "size": "1248*832"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "1K",
                  "width": 832,
                  "height": 1248,
                  "values": {
                    "size": "832*1248"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "1K",
                  "width": 1360,
                  "height": 768,
                  "values": {
                    "size": "1360*768"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "1K",
                  "width": 768,
                  "height": 1360,
                  "values": {
                    "size": "768*1360"
                  }
                },
                {
                  "aspect": "1:1",
                  "tier": "4MP",
                  "width": 2000,
                  "height": 2000,
                  "values": {
                    "size": "2000*2000"
                  }
                }
              ]
            },
            "without_references": {
              "fields": [
                "size",
                "seed"
              ]
            }
          },
          {
            "id": "turbo",
            "label": "Turbo",
            "description": "The quickest FLUX.2.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-turbo/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}",
                "seed": "{{fields.seed}}"
              }
            },
            "pricing": {
              "per_image": 0.04,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "sizes": [
              {
                "aspect": "1:1",
                "tier": "1K",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "tier": "1K",
                "width": 1152,
                "height": 864,
                "values": {
                  "size": "1152*864"
                }
              },
              {
                "aspect": "3:4",
                "tier": "1K",
                "width": 864,
                "height": 1152,
                "values": {
                  "size": "864*1152"
                }
              },
              {
                "aspect": "3:2",
                "tier": "1K",
                "width": 1248,
                "height": 832,
                "values": {
                  "size": "1248*832"
                }
              },
              {
                "aspect": "2:3",
                "tier": "1K",
                "width": 832,
                "height": 1248,
                "values": {
                  "size": "832*1248"
                }
              },
              {
                "aspect": "16:9",
                "tier": "1K",
                "width": 1360,
                "height": 768,
                "values": {
                  "size": "1360*768"
                }
              },
              {
                "aspect": "9:16",
                "tier": "1K",
                "width": 768,
                "height": 1360,
                "values": {
                  "size": "768*1360"
                }
              },
              {
                "aspect": "1:1",
                "tier": "4MP",
                "width": 2000,
                "height": 2000,
                "values": {
                  "size": "2000*2000"
                }
              }
            ],
            "with_references": {
              "fields": [
                "size",
                "seed"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-turbo/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "size": "{{fields.size}}",
                  "seed": "{{fields.seed}}"
                }
              },
              "pricing": {
                "per_image": 0.048,
                "per_input_image": 0.008,
                "free_input_images": 1,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "sizes": [
                {
                  "aspect": "1:1",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1024,
                  "values": {
                    "size": "1024*1024"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "1K",
                  "width": 1152,
                  "height": 864,
                  "values": {
                    "size": "1152*864"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "1K",
                  "width": 864,
                  "height": 1152,
                  "values": {
                    "size": "864*1152"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "1K",
                  "width": 1248,
                  "height": 832,
                  "values": {
                    "size": "1248*832"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "1K",
                  "width": 832,
                  "height": 1248,
                  "values": {
                    "size": "832*1248"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "1K",
                  "width": 1360,
                  "height": 768,
                  "values": {
                    "size": "1360*768"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "1K",
                  "width": 768,
                  "height": 1360,
                  "values": {
                    "size": "768*1360"
                  }
                },
                {
                  "aspect": "1:1",
                  "tier": "4MP",
                  "width": 2000,
                  "height": 2000,
                  "values": {
                    "size": "2000*2000"
                  }
                }
              ]
            },
            "without_references": {
              "fields": [
                "size",
                "seed"
              ]
            }
          }
        ]
      }
    },
    {
      "id": "flux-2-klein-9b",
      "label": "FLUX.2 [klein] 9B",
      "group": "FLUX",
      "description": "FLUX.2 [klein] 9B: very fast generation and editing. Base takes more steps for more variety.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            },
            {
              "label": "1:1 (2000 x 2000)",
              "value": "2000*2000"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 3,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-klein-9b/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.01,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "tier": "1K",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "tier": "1K",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "tier": "1K",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "tier": "1K",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "tier": "1K",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "tier": "1K",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "tier": "1K",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        },
        {
          "aspect": "1:1",
          "tier": "4MP",
          "width": 2000,
          "height": 2000,
          "values": {
            "size": "2000*2000"
          }
        }
      ],
      "variants": {
        "label": "Version",
        "default": "distilled",
        "options": [
          {
            "id": "distilled",
            "label": "Distilled",
            "description": "The fastest.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-klein-9b/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}",
                "seed": "{{fields.seed}}"
              }
            },
            "pricing": {
              "per_image": 0.01,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "sizes": [
              {
                "aspect": "1:1",
                "tier": "1K",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "tier": "1K",
                "width": 1152,
                "height": 864,
                "values": {
                  "size": "1152*864"
                }
              },
              {
                "aspect": "3:4",
                "tier": "1K",
                "width": 864,
                "height": 1152,
                "values": {
                  "size": "864*1152"
                }
              },
              {
                "aspect": "3:2",
                "tier": "1K",
                "width": 1248,
                "height": 832,
                "values": {
                  "size": "1248*832"
                }
              },
              {
                "aspect": "2:3",
                "tier": "1K",
                "width": 832,
                "height": 1248,
                "values": {
                  "size": "832*1248"
                }
              },
              {
                "aspect": "16:9",
                "tier": "1K",
                "width": 1360,
                "height": 768,
                "values": {
                  "size": "1360*768"
                }
              },
              {
                "aspect": "9:16",
                "tier": "1K",
                "width": 768,
                "height": 1360,
                "values": {
                  "size": "768*1360"
                }
              },
              {
                "aspect": "1:1",
                "tier": "4MP",
                "width": 2000,
                "height": 2000,
                "values": {
                  "size": "2000*2000"
                }
              }
            ],
            "with_references": {
              "fields": [
                "size",
                "seed"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-klein-9b/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "size": "{{fields.size}}",
                  "seed": "{{fields.seed}}"
                }
              },
              "pricing": {
                "per_image": 0.016,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "sizes": [
                {
                  "aspect": "1:1",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1024,
                  "values": {
                    "size": "1024*1024"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "1K",
                  "width": 1152,
                  "height": 864,
                  "values": {
                    "size": "1152*864"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "1K",
                  "width": 864,
                  "height": 1152,
                  "values": {
                    "size": "864*1152"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "1K",
                  "width": 1248,
                  "height": 832,
                  "values": {
                    "size": "1248*832"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "1K",
                  "width": 832,
                  "height": 1248,
                  "values": {
                    "size": "832*1248"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "1K",
                  "width": 1360,
                  "height": 768,
                  "values": {
                    "size": "1360*768"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "1K",
                  "width": 768,
                  "height": 1360,
                  "values": {
                    "size": "768*1360"
                  }
                },
                {
                  "aspect": "1:1",
                  "tier": "4MP",
                  "width": 2000,
                  "height": 2000,
                  "values": {
                    "size": "2000*2000"
                  }
                }
              ]
            },
            "without_references": {
              "fields": [
                "size",
                "seed"
              ]
            }
          },
          {
            "id": "base",
            "label": "Base",
            "description": "The undistilled model: more variety.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-klein-base-9b/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}",
                "seed": "{{fields.seed}}"
              }
            },
            "pricing": {
              "per_image": 0.015,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "sizes": [
              {
                "aspect": "1:1",
                "tier": "1K",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "tier": "1K",
                "width": 1152,
                "height": 864,
                "values": {
                  "size": "1152*864"
                }
              },
              {
                "aspect": "3:4",
                "tier": "1K",
                "width": 864,
                "height": 1152,
                "values": {
                  "size": "864*1152"
                }
              },
              {
                "aspect": "3:2",
                "tier": "1K",
                "width": 1248,
                "height": 832,
                "values": {
                  "size": "1248*832"
                }
              },
              {
                "aspect": "2:3",
                "tier": "1K",
                "width": 832,
                "height": 1248,
                "values": {
                  "size": "832*1248"
                }
              },
              {
                "aspect": "16:9",
                "tier": "1K",
                "width": 1360,
                "height": 768,
                "values": {
                  "size": "1360*768"
                }
              },
              {
                "aspect": "9:16",
                "tier": "1K",
                "width": 768,
                "height": 1360,
                "values": {
                  "size": "768*1360"
                }
              },
              {
                "aspect": "1:1",
                "tier": "4MP",
                "width": 2000,
                "height": 2000,
                "values": {
                  "size": "2000*2000"
                }
              }
            ],
            "with_references": {
              "fields": [
                "size",
                "seed"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-klein-base-9b/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "size": "{{fields.size}}",
                  "seed": "{{fields.seed}}"
                }
              },
              "pricing": {
                "per_image": 0.021,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "sizes": [
                {
                  "aspect": "1:1",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1024,
                  "values": {
                    "size": "1024*1024"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "1K",
                  "width": 1152,
                  "height": 864,
                  "values": {
                    "size": "1152*864"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "1K",
                  "width": 864,
                  "height": 1152,
                  "values": {
                    "size": "864*1152"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "1K",
                  "width": 1248,
                  "height": 832,
                  "values": {
                    "size": "1248*832"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "1K",
                  "width": 832,
                  "height": 1248,
                  "values": {
                    "size": "832*1248"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "1K",
                  "width": 1360,
                  "height": 768,
                  "values": {
                    "size": "1360*768"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "1K",
                  "width": 768,
                  "height": 1360,
                  "values": {
                    "size": "768*1360"
                  }
                },
                {
                  "aspect": "1:1",
                  "tier": "4MP",
                  "width": 2000,
                  "height": 2000,
                  "values": {
                    "size": "2000*2000"
                  }
                }
              ]
            },
            "without_references": {
              "fields": [
                "size",
                "seed"
              ]
            }
          }
        ]
      }
    },
    {
      "id": "flux-2-klein-4b",
      "label": "FLUX.2 [klein] 4B",
      "group": "FLUX",
      "description": "FLUX.2 [klein] 4B, the smallest and cheapest FLUX.2. Base takes more steps for more variety.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            },
            {
              "label": "1:1 (2000 x 2000)",
              "value": "2000*2000"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 3,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-klein-4b/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.008,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "tier": "1K",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "tier": "1K",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "tier": "1K",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "tier": "1K",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "tier": "1K",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "tier": "1K",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "tier": "1K",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        },
        {
          "aspect": "1:1",
          "tier": "4MP",
          "width": 2000,
          "height": 2000,
          "values": {
            "size": "2000*2000"
          }
        }
      ],
      "variants": {
        "label": "Version",
        "default": "distilled",
        "options": [
          {
            "id": "distilled",
            "label": "Distilled",
            "description": "The fastest.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-klein-4b/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}",
                "seed": "{{fields.seed}}"
              }
            },
            "pricing": {
              "per_image": 0.008,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "sizes": [
              {
                "aspect": "1:1",
                "tier": "1K",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "tier": "1K",
                "width": 1152,
                "height": 864,
                "values": {
                  "size": "1152*864"
                }
              },
              {
                "aspect": "3:4",
                "tier": "1K",
                "width": 864,
                "height": 1152,
                "values": {
                  "size": "864*1152"
                }
              },
              {
                "aspect": "3:2",
                "tier": "1K",
                "width": 1248,
                "height": 832,
                "values": {
                  "size": "1248*832"
                }
              },
              {
                "aspect": "2:3",
                "tier": "1K",
                "width": 832,
                "height": 1248,
                "values": {
                  "size": "832*1248"
                }
              },
              {
                "aspect": "16:9",
                "tier": "1K",
                "width": 1360,
                "height": 768,
                "values": {
                  "size": "1360*768"
                }
              },
              {
                "aspect": "9:16",
                "tier": "1K",
                "width": 768,
                "height": 1360,
                "values": {
                  "size": "768*1360"
                }
              },
              {
                "aspect": "1:1",
                "tier": "4MP",
                "width": 2000,
                "height": 2000,
                "values": {
                  "size": "2000*2000"
                }
              }
            ],
            "with_references": {
              "fields": [
                "size",
                "seed"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-klein-4b/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "size": "{{fields.size}}",
                  "seed": "{{fields.seed}}"
                }
              },
              "pricing": {
                "per_image": 0.012,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "sizes": [
                {
                  "aspect": "1:1",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1024,
                  "values": {
                    "size": "1024*1024"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "1K",
                  "width": 1152,
                  "height": 864,
                  "values": {
                    "size": "1152*864"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "1K",
                  "width": 864,
                  "height": 1152,
                  "values": {
                    "size": "864*1152"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "1K",
                  "width": 1248,
                  "height": 832,
                  "values": {
                    "size": "1248*832"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "1K",
                  "width": 832,
                  "height": 1248,
                  "values": {
                    "size": "832*1248"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "1K",
                  "width": 1360,
                  "height": 768,
                  "values": {
                    "size": "1360*768"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "1K",
                  "width": 768,
                  "height": 1360,
                  "values": {
                    "size": "768*1360"
                  }
                },
                {
                  "aspect": "1:1",
                  "tier": "4MP",
                  "width": 2000,
                  "height": 2000,
                  "values": {
                    "size": "2000*2000"
                  }
                }
              ]
            },
            "without_references": {
              "fields": [
                "size",
                "seed"
              ]
            }
          },
          {
            "id": "base",
            "label": "Base",
            "description": "The undistilled model: more variety.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-klein-base-4b/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}",
                "seed": "{{fields.seed}}"
              }
            },
            "pricing": {
              "per_image": 0.01,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "sizes": [
              {
                "aspect": "1:1",
                "tier": "1K",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "tier": "1K",
                "width": 1152,
                "height": 864,
                "values": {
                  "size": "1152*864"
                }
              },
              {
                "aspect": "3:4",
                "tier": "1K",
                "width": 864,
                "height": 1152,
                "values": {
                  "size": "864*1152"
                }
              },
              {
                "aspect": "3:2",
                "tier": "1K",
                "width": 1248,
                "height": 832,
                "values": {
                  "size": "1248*832"
                }
              },
              {
                "aspect": "2:3",
                "tier": "1K",
                "width": 832,
                "height": 1248,
                "values": {
                  "size": "832*1248"
                }
              },
              {
                "aspect": "16:9",
                "tier": "1K",
                "width": 1360,
                "height": 768,
                "values": {
                  "size": "1360*768"
                }
              },
              {
                "aspect": "9:16",
                "tier": "1K",
                "width": 768,
                "height": 1360,
                "values": {
                  "size": "768*1360"
                }
              },
              {
                "aspect": "1:1",
                "tier": "4MP",
                "width": 2000,
                "height": 2000,
                "values": {
                  "size": "2000*2000"
                }
              }
            ],
            "with_references": {
              "fields": [
                "size",
                "seed"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-2-klein-base-4b/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "size": "{{fields.size}}",
                  "seed": "{{fields.seed}}"
                }
              },
              "pricing": {
                "per_image": 0.015,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "sizes": [
                {
                  "aspect": "1:1",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1024,
                  "values": {
                    "size": "1024*1024"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "1K",
                  "width": 1152,
                  "height": 864,
                  "values": {
                    "size": "1152*864"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "1K",
                  "width": 864,
                  "height": 1152,
                  "values": {
                    "size": "864*1152"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "1K",
                  "width": 1248,
                  "height": 832,
                  "values": {
                    "size": "1248*832"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "1K",
                  "width": 832,
                  "height": 1248,
                  "values": {
                    "size": "832*1248"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "1K",
                  "width": 1360,
                  "height": 768,
                  "values": {
                    "size": "1360*768"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "1K",
                  "width": 768,
                  "height": 1360,
                  "values": {
                    "size": "768*1360"
                  }
                },
                {
                  "aspect": "1:1",
                  "tier": "4MP",
                  "width": 2000,
                  "height": 2000,
                  "values": {
                    "size": "2000*2000"
                  }
                }
              ]
            },
            "without_references": {
              "fields": [
                "size",
                "seed"
              ]
            }
          }
        ]
      }
    },
    {
      "id": "flux-kontext-pro",
      "label": "FLUX.1 Kontext [pro]",
      "group": "FLUX",
      "description": "FLUX.1 Kontext [pro]: edits up to 5 images from a prompt, or makes a new image without them.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "21:9",
              "value": "21:9"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "9:21",
              "value": "9:21"
            }
          ]
        },
        {
          "key": "aspect_ratio_2",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "21:9",
          "options": [
            {
              "label": "21:9",
              "value": "21:9"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "9:21",
              "value": "9:21"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        },
        {
          "key": "guidance_scale",
          "label": "Guidance",
          "type": "float_slider",
          "min": 1,
          "max": 20,
          "default": 3.5,
          "step": 0.1,
          "help": "How closely the image follows the prompt. Higher follows it more strictly."
        },
        {
          "key": "safety_tolerance",
          "label": "Safety Tolerance",
          "type": "combo",
          "default": "2",
          "options": [
            {
              "label": "1",
              "value": "1"
            },
            {
              "label": "2",
              "value": "2"
            },
            {
              "label": "3",
              "value": "3"
            },
            {
              "label": "4",
              "value": "4"
            },
            {
              "label": "5",
              "value": "5"
            }
          ],
          "help": "1 is the strictest, 5 the most permissive. Default is 2."
        }
      ],
      "references": {
        "mode": "optional",
        "max": 5,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-kontext-pro/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "seed": "{{fields.seed}}",
          "guidance_scale": "{{fields.guidance_scale}}",
          "safety_tolerance": "{{fields.safety_tolerance}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "aspect_ratio",
          "seed",
          "guidance_scale",
          "safety_tolerance"
        ]
      },
      "with_references": {
        "fields": [
          "seed",
          "guidance_scale",
          "aspect_ratio_2"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-kontext-pro/multi",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "seed": "{{fields.seed}}",
            "guidance_scale": "{{fields.guidance_scale}}",
            "aspect_ratio": "{{fields.aspect_ratio_2}}"
          }
        },
        "pricing": {
          "per_image": 0.04,
          "note": "WaveSpeed's list price, from its Pricing API."
        }
      }
    },
    {
      "id": "flux-kontext-max",
      "label": "FLUX.1 Kontext [max]",
      "group": "FLUX",
      "description": "FLUX.1 Kontext [max], the higher fidelity Kontext, for precise edits of up to 5 images.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "21:9",
              "value": "21:9"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "9:21",
              "value": "9:21"
            }
          ]
        },
        {
          "key": "aspect_ratio_2",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "21:9",
          "options": [
            {
              "label": "21:9",
              "value": "21:9"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "9:21",
              "value": "9:21"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        },
        {
          "key": "guidance_scale",
          "label": "Guidance",
          "type": "float_slider",
          "min": 1,
          "max": 20,
          "default": 3.5,
          "step": 0.1,
          "help": "How closely the image follows the prompt. Higher follows it more strictly."
        }
      ],
      "references": {
        "mode": "optional",
        "max": 5,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-kontext-max/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "seed": "{{fields.seed}}",
          "guidance_scale": "{{fields.guidance_scale}}",
          "aspect_ratio": "{{fields.aspect_ratio}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.08,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "seed",
          "guidance_scale",
          "aspect_ratio"
        ]
      },
      "with_references": {
        "fields": [
          "guidance_scale",
          "aspect_ratio_2"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-kontext-max/multi",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "guidance_scale": "{{fields.guidance_scale}}",
            "aspect_ratio": "{{fields.aspect_ratio_2}}"
          }
        },
        "pricing": {
          "per_image": 0.08,
          "note": "WaveSpeed's list price, from its Pricing API."
        }
      }
    },
    {
      "id": "flux-kontext-dev",
      "label": "FLUX.1 Kontext [dev]",
      "group": "FLUX",
      "description": "FLUX.1 Kontext [dev], the open Kontext model, for quick edits of up to 4 images.",
      "fields": [
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "num_inference_steps",
          "label": "Steps",
          "type": "int_slider",
          "min": 1,
          "max": 50,
          "default": 28,
          "help": "How many passes refine the image. More is slower."
        },
        {
          "key": "guidance_scale",
          "label": "Guidance",
          "type": "float_slider",
          "min": 1,
          "max": 20,
          "default": 2.5,
          "step": 0.1,
          "help": "How closely the image follows the prompt. Higher follows it more strictly."
        },
        {
          "key": "num_images",
          "label": "Images",
          "type": "int_slider",
          "min": 1,
          "max": 4,
          "default": 1
        },
        {
          "type": "seed",
          "max": 2147483647
        },
        {
          "key": "guidance_scale_2",
          "label": "Guidance",
          "type": "float_slider",
          "min": 0,
          "max": 20,
          "default": 2.5,
          "step": 0.1,
          "help": "How closely the image follows the prompt. Higher follows it more strictly."
        }
      ],
      "references": {
        "mode": "optional",
        "max": 4,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-kontext-dev",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "num_inference_steps": "{{fields.num_inference_steps}}",
          "guidance_scale": "{{fields.guidance_scale}}",
          "num_images": "{{fields.num_images}}",
          "seed": "{{fields.seed}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "count_field": "num_images",
        "per_image": 0.025,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "variants": {
        "label": "Version",
        "default": "standard",
        "options": [
          {
            "id": "standard",
            "label": "Standard",
            "description": "The full model.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-kontext-dev",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "image": "{{image}}",
                "num_inference_steps": "{{fields.num_inference_steps}}",
                "guidance_scale": "{{fields.guidance_scale}}",
                "num_images": "{{fields.num_images}}",
                "seed": "{{fields.seed}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "count_field": "num_images",
              "per_image": 0.025,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "output_format",
              "num_inference_steps",
              "guidance_scale",
              "num_images",
              "seed"
            ],
            "with_references": {
              "fields": [
                "num_inference_steps",
                "guidance_scale",
                "num_images",
                "seed",
                "output_format"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-kontext-dev/multi",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "num_inference_steps": "{{fields.num_inference_steps}}",
                  "guidance_scale": "{{fields.guidance_scale}}",
                  "num_images": "{{fields.num_images}}",
                  "seed": "{{fields.seed}}",
                  "output_format": "{{fields.output_format}}"
                }
              },
              "pricing": {
                "count_field": "num_images",
                "per_image": 0.03,
                "note": "WaveSpeed's list price, from its Pricing API."
              }
            },
            "without_references": {
              "fields": [
                "num_inference_steps",
                "guidance_scale",
                "num_images",
                "seed",
                "output_format"
              ]
            }
          },
          {
            "id": "ultra-fast",
            "label": "Ultra Fast",
            "description": "WaveSpeed's accelerated version.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-kontext-dev-ultra-fast",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "image": "{{image}}",
                "num_inference_steps": "{{fields.num_inference_steps}}",
                "guidance_scale": "{{fields.guidance_scale_2}}",
                "num_images": "{{fields.num_images}}",
                "seed": "{{fields.seed}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "count_field": "num_images",
              "per_image": 0.02,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "with_references": {
              "fields": [
                "num_inference_steps",
                "guidance_scale",
                "num_images",
                "seed",
                "output_format"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-kontext-dev/multi-ultra-fast",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "num_inference_steps": "{{fields.num_inference_steps}}",
                  "guidance_scale": "{{fields.guidance_scale}}",
                  "num_images": "{{fields.num_images}}",
                  "seed": "{{fields.seed}}",
                  "output_format": "{{fields.output_format}}"
                }
              },
              "pricing": {
                "count_field": "num_images",
                "per_image": 0.025,
                "note": "WaveSpeed's list price, from its Pricing API."
              }
            },
            "without_references": {
              "fields": [
                "num_inference_steps",
                "guidance_scale_2",
                "num_images",
                "seed",
                "output_format"
              ]
            }
          }
        ]
      }
    },
    {
      "id": "flux-1-1-pro",
      "label": "FLUX1.1 [pro]",
      "group": "FLUX",
      "description": "FLUX1.1 [pro] text to image.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPG",
              "value": "jpg"
            },
            {
              "label": "PNG",
              "value": "png"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-1.1-pro",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "output_format": "{{fields.output_format}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "flux-1-1-pro-ultra",
      "label": "FLUX1.1 [pro] Ultra",
      "group": "FLUX",
      "description": "FLUX1.1 [pro] Ultra: 4 megapixel images, with an optional Raw look.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPG",
              "value": "jpg"
            },
            {
              "label": "PNG",
              "value": "png"
            }
          ]
        },
        {
          "key": "raw",
          "label": "Raw",
          "type": "bool",
          "default": false,
          "help": "A less processed, more natural look."
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-1.1-pro-ultra",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "output_format": "{{fields.output_format}}",
          "raw": "{{fields.raw}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.06,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "flux-1-dev",
      "label": "FLUX.1 [dev]",
      "group": "FLUX",
      "description": "FLUX.1 [dev]. Add an image to rework it, and paint a mask to change only part of it.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "strength",
          "label": "Strength",
          "type": "float_slider",
          "min": 0,
          "max": 1,
          "default": 0.8,
          "step": 0.05,
          "help": "Only with an image. 1 replaces it completely; lower keeps more of it."
        },
        {
          "key": "num_inference_steps",
          "label": "Steps",
          "type": "int_slider",
          "min": 1,
          "max": 50,
          "default": 28,
          "help": "How many passes refine the image. More is slower."
        },
        {
          "type": "seed",
          "max": 2147483647
        },
        {
          "key": "guidance_scale",
          "label": "Guidance",
          "type": "float_slider",
          "min": 1,
          "max": 20,
          "default": 3.5,
          "step": 0.1,
          "help": "How closely the image follows the prompt. Higher follows it more strictly."
        },
        {
          "key": "num_images",
          "label": "Images",
          "type": "int_slider",
          "min": 1,
          "max": 4,
          "default": 1
        },
        {
          "key": "guidance_scale_2",
          "label": "Guidance",
          "type": "float_slider",
          "min": 0,
          "max": 20,
          "default": 3.5,
          "step": 0.1,
          "help": "How closely the image follows the prompt. Higher follows it more strictly."
        }
      ],
      "references": {
        "mode": "optional",
        "max": 1,
        "send_as": "upload"
      },
      "mask": {
        "mode": "optional",
        "paint": "white"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-dev",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "mask_image": "{{mask}}",
          "strength": "{{fields.strength}}",
          "size": "{{fields.size}}",
          "num_inference_steps": "{{fields.num_inference_steps}}",
          "seed": "{{fields.seed}}",
          "guidance_scale": "{{fields.guidance_scale}}",
          "num_images": "{{fields.num_images}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "count_field": "num_images",
        "per_image": 0.012,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ],
      "variants": {
        "label": "Version",
        "default": "standard",
        "options": [
          {
            "id": "standard",
            "label": "Standard",
            "description": "The full model.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-dev",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "image": "{{image}}",
                "mask_image": "{{mask}}",
                "strength": "{{fields.strength}}",
                "size": "{{fields.size}}",
                "num_inference_steps": "{{fields.num_inference_steps}}",
                "seed": "{{fields.seed}}",
                "guidance_scale": "{{fields.guidance_scale}}",
                "num_images": "{{fields.num_images}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "count_field": "num_images",
              "per_image": 0.012,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "strength",
              "size",
              "num_inference_steps",
              "seed",
              "guidance_scale",
              "num_images",
              "output_format"
            ],
            "sizes": [
              {
                "aspect": "1:1",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "width": 1152,
                "height": 864,
                "values": {
                  "size": "1152*864"
                }
              },
              {
                "aspect": "3:4",
                "width": 864,
                "height": 1152,
                "values": {
                  "size": "864*1152"
                }
              },
              {
                "aspect": "3:2",
                "width": 1248,
                "height": 832,
                "values": {
                  "size": "1248*832"
                }
              },
              {
                "aspect": "2:3",
                "width": 832,
                "height": 1248,
                "values": {
                  "size": "832*1248"
                }
              },
              {
                "aspect": "16:9",
                "width": 1360,
                "height": 768,
                "values": {
                  "size": "1360*768"
                }
              },
              {
                "aspect": "9:16",
                "width": 768,
                "height": 1360,
                "values": {
                  "size": "768*1360"
                }
              }
            ],
            "with_references": {
              "fields": [
                "strength",
                "num_inference_steps",
                "seed",
                "guidance_scale",
                "num_images",
                "output_format"
              ],
              "sizes": []
            },
            "without_references": {
              "fields": [
                "size",
                "num_inference_steps",
                "seed",
                "guidance_scale",
                "num_images",
                "output_format"
              ]
            },
            "mask": {
              "mode": "optional",
              "paint": "white"
            }
          },
          {
            "id": "ultra-fast",
            "label": "Ultra Fast",
            "description": "WaveSpeed's accelerated version.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-dev-ultra-fast",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "image": "{{image}}",
                "mask_image": "{{mask}}",
                "strength": "{{fields.strength}}",
                "size": "{{fields.size}}",
                "num_inference_steps": "{{fields.num_inference_steps}}",
                "seed": "{{fields.seed}}",
                "guidance_scale": "{{fields.guidance_scale_2}}",
                "num_images": "{{fields.num_images}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "count_field": "num_images",
              "per_image": 0.005,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "strength",
              "size",
              "num_inference_steps",
              "seed",
              "guidance_scale_2",
              "num_images",
              "output_format"
            ],
            "sizes": [
              {
                "aspect": "1:1",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "width": 1152,
                "height": 864,
                "values": {
                  "size": "1152*864"
                }
              },
              {
                "aspect": "3:4",
                "width": 864,
                "height": 1152,
                "values": {
                  "size": "864*1152"
                }
              },
              {
                "aspect": "3:2",
                "width": 1248,
                "height": 832,
                "values": {
                  "size": "1248*832"
                }
              },
              {
                "aspect": "2:3",
                "width": 832,
                "height": 1248,
                "values": {
                  "size": "832*1248"
                }
              },
              {
                "aspect": "16:9",
                "width": 1360,
                "height": 768,
                "values": {
                  "size": "1360*768"
                }
              },
              {
                "aspect": "9:16",
                "width": 768,
                "height": 1360,
                "values": {
                  "size": "768*1360"
                }
              }
            ],
            "with_references": {
              "fields": [
                "strength",
                "num_inference_steps",
                "seed",
                "guidance_scale_2",
                "num_images",
                "output_format"
              ],
              "sizes": []
            },
            "without_references": {
              "fields": [
                "size",
                "num_inference_steps",
                "seed",
                "guidance_scale_2",
                "num_images",
                "output_format"
              ]
            },
            "mask": {
              "mode": "optional",
              "paint": "white"
            }
          }
        ]
      }
    },
    {
      "id": "flux-1-schnell",
      "label": "FLUX.1 [schnell]",
      "group": "FLUX",
      "description": "FLUX.1 [schnell], the fastest FLUX.1. Add an image to rework it, with an optional mask.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "strength",
          "label": "Strength",
          "type": "float_slider",
          "min": 0,
          "max": 1,
          "default": 0.8,
          "step": 0.05,
          "help": "Only with an image. 1 replaces it completely; lower keeps more of it."
        },
        {
          "key": "num_images",
          "label": "Images",
          "type": "int_slider",
          "min": 1,
          "max": 4,
          "default": 1
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 1,
        "send_as": "upload"
      },
      "mask": {
        "mode": "optional",
        "paint": "white"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-schnell",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "mask_image": "{{mask}}",
          "strength": "{{fields.strength}}",
          "size": "{{fields.size}}",
          "num_images": "{{fields.num_images}}",
          "seed": "{{fields.seed}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "count_field": "num_images",
        "per_image": 0.003,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ],
      "without_references": {
        "fields": [
          "size",
          "num_images",
          "seed",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "strength",
          "num_images",
          "seed",
          "output_format"
        ],
        "sizes": []
      }
    },
    {
      "id": "flux-fill-dev",
      "label": "FLUX.1 Fill [dev]",
      "group": "FLUX",
      "description": "FLUX.1 Fill [dev]: paint a mask on your image and describe what goes there.",
      "fields": [
        {
          "key": "num_inference_steps",
          "label": "Steps",
          "type": "int_slider",
          "min": 1,
          "max": 50,
          "default": 28,
          "help": "How many passes refine the image. More is slower."
        },
        {
          "type": "seed",
          "max": 2147483647
        },
        {
          "key": "guidance_scale",
          "label": "Guidance",
          "type": "float_slider",
          "min": 28,
          "max": 35,
          "default": 30,
          "step": 0.1,
          "help": "How closely the image follows the prompt. Higher follows it more strictly."
        },
        {
          "key": "num_images",
          "label": "Images",
          "type": "int_slider",
          "min": 1,
          "max": 4,
          "default": 1
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "mask": {
        "mode": "required",
        "paint": "white"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-fill-dev",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "mask_image": "{{mask}}",
          "num_inference_steps": "{{fields.num_inference_steps}}",
          "seed": "{{fields.seed}}",
          "guidance_scale": "{{fields.guidance_scale}}",
          "num_images": "{{fields.num_images}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "count_field": "num_images",
        "per_image": 0.035,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "flux-redux",
      "label": "FLUX.1 Redux",
      "group": "FLUX",
      "description": "FLUX.1 Redux makes variations of your image. Pro also takes a prompt to steer them.",
      "prompt": {
        "mode": "optional"
      },
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "num_inference_steps",
          "label": "Steps",
          "type": "int_slider",
          "min": 1,
          "max": 50,
          "default": 28,
          "help": "How many passes refine the image. More is slower."
        },
        {
          "key": "guidance_scale",
          "label": "Guidance",
          "type": "float_slider",
          "min": 1,
          "max": 20,
          "default": 3.5,
          "step": 0.1,
          "help": "How closely the image follows the prompt. Higher follows it more strictly."
        },
        {
          "key": "num_images",
          "label": "Images",
          "type": "int_slider",
          "min": 1,
          "max": 4,
          "default": 1
        },
        {
          "type": "seed",
          "max": 2147483647
        },
        {
          "key": "guidance_scale_2",
          "label": "Guidance",
          "type": "float_slider",
          "min": 1,
          "max": 5,
          "default": 3.5,
          "step": 0.1,
          "help": "How closely the image follows the prompt. Higher follows it more strictly."
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload",
        "role": "guide"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-redux-dev",
        "error": "data.error",
        "body": {
          "image": "{{image}}",
          "size": "{{fields.size}}",
          "num_inference_steps": "{{fields.num_inference_steps}}",
          "guidance_scale": "{{fields.guidance_scale}}",
          "num_images": "{{fields.num_images}}",
          "seed": "{{fields.seed}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "count_field": "num_images",
        "per_image": 0.025,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ],
      "variants": {
        "label": "Version",
        "default": "dev",
        "options": [
          {
            "id": "dev",
            "label": "Dev",
            "description": "Variations of your image, with no prompt.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-redux-dev",
              "error": "data.error",
              "body": {
                "image": "{{image}}",
                "size": "{{fields.size}}",
                "num_inference_steps": "{{fields.num_inference_steps}}",
                "guidance_scale": "{{fields.guidance_scale}}",
                "num_images": "{{fields.num_images}}",
                "seed": "{{fields.seed}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "count_field": "num_images",
              "per_image": 0.025,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "size",
              "num_inference_steps",
              "guidance_scale",
              "num_images",
              "seed",
              "output_format"
            ],
            "sizes": [
              {
                "aspect": "1:1",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "width": 1152,
                "height": 864,
                "values": {
                  "size": "1152*864"
                }
              },
              {
                "aspect": "3:4",
                "width": 864,
                "height": 1152,
                "values": {
                  "size": "864*1152"
                }
              },
              {
                "aspect": "3:2",
                "width": 1248,
                "height": 832,
                "values": {
                  "size": "1248*832"
                }
              },
              {
                "aspect": "2:3",
                "width": 832,
                "height": 1248,
                "values": {
                  "size": "832*1248"
                }
              },
              {
                "aspect": "16:9",
                "width": 1360,
                "height": 768,
                "values": {
                  "size": "1360*768"
                }
              },
              {
                "aspect": "9:16",
                "width": 768,
                "height": 1360,
                "values": {
                  "size": "768*1360"
                }
              }
            ]
          },
          {
            "id": "pro",
            "label": "Pro",
            "description": "Variations steered by your prompt.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-redux-pro",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "image": "{{image}}",
                "size": "{{fields.size}}",
                "seed": "{{fields.seed}}",
                "num_inference_steps": "{{fields.num_inference_steps}}",
                "guidance_scale": "{{fields.guidance_scale_2}}"
              }
            },
            "pricing": {
              "per_image": 0.15,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "size",
              "seed",
              "num_inference_steps",
              "guidance_scale_2"
            ],
            "sizes": [
              {
                "aspect": "1:1",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "width": 1152,
                "height": 864,
                "values": {
                  "size": "1152*864"
                }
              },
              {
                "aspect": "3:4",
                "width": 864,
                "height": 1152,
                "values": {
                  "size": "864*1152"
                }
              },
              {
                "aspect": "3:2",
                "width": 1248,
                "height": 832,
                "values": {
                  "size": "1248*832"
                }
              },
              {
                "aspect": "2:3",
                "width": 832,
                "height": 1248,
                "values": {
                  "size": "832*1248"
                }
              },
              {
                "aspect": "16:9",
                "width": 1360,
                "height": 768,
                "values": {
                  "size": "1360*768"
                }
              },
              {
                "aspect": "9:16",
                "width": 768,
                "height": 1360,
                "values": {
                  "size": "768*1360"
                }
              }
            ]
          }
        ]
      }
    },
    {
      "id": "flux-controlnet",
      "label": "FLUX ControlNet",
      "group": "FLUX",
      "description": "FLUX ControlNet Union Pro 2.0: your image's structure guides a new one from your prompt.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "num_inference_steps",
          "label": "Steps",
          "type": "int_slider",
          "min": 1,
          "max": 50,
          "default": 28,
          "help": "How many passes refine the image. More is slower."
        },
        {
          "key": "guidance_scale",
          "label": "Guidance",
          "type": "float_slider",
          "min": 0,
          "max": 20,
          "default": 3.5,
          "step": 0.1,
          "help": "How closely the image follows the prompt. Higher follows it more strictly."
        },
        {
          "key": "controlnet_conditioning_scale",
          "label": "Control Strength",
          "type": "float_slider",
          "min": 0,
          "max": 2,
          "default": 0.7,
          "step": 0.05,
          "help": "How closely the result follows your control image."
        },
        {
          "key": "control_guidance_start",
          "label": "Control Start",
          "type": "float_slider",
          "min": 0,
          "max": 1,
          "default": 0,
          "step": 0.05,
          "help": "How far into the run the control image starts to guide it, from 0 to 1."
        },
        {
          "key": "control_guidance_end",
          "label": "Control End",
          "type": "float_slider",
          "min": 0,
          "max": 1,
          "default": 0.8,
          "step": 0.05,
          "help": "How far into the run the control image stops guiding it, from 0 to 1."
        },
        {
          "type": "seed",
          "max": 2147483647
        },
        {
          "key": "num_images",
          "label": "Images",
          "type": "int_slider",
          "min": 1,
          "max": 4,
          "default": 1
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload",
        "role": "guide"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-controlnet-union-pro-2.0",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "control_image": "{{image}}",
          "size": "{{fields.size}}",
          "num_inference_steps": "{{fields.num_inference_steps}}",
          "guidance_scale": "{{fields.guidance_scale}}",
          "controlnet_conditioning_scale": "{{fields.controlnet_conditioning_scale}}",
          "control_guidance_start": "{{fields.control_guidance_start}}",
          "control_guidance_end": "{{fields.control_guidance_end}}",
          "seed": "{{fields.seed}}",
          "num_images": "{{fields.num_images}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "count_field": "num_images",
        "per_image": 0.03,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ]
    },
    {
      "id": "flux-srpo",
      "label": "FLUX SRPO",
      "group": "FLUX",
      "description": "FLUX.1 SRPO: aesthetic, realistic images. Add an image to rework it.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            }
          ]
        },
        {
          "key": "num_inference_steps",
          "label": "Steps",
          "type": "int_slider",
          "min": 1,
          "max": 50,
          "default": 28,
          "help": "How many passes refine the image. More is slower."
        },
        {
          "type": "seed",
          "max": 2147483647
        },
        {
          "key": "guidance_scale",
          "label": "Guidance",
          "type": "float_slider",
          "min": 1,
          "max": 20,
          "default": 3.5,
          "step": 0.1,
          "help": "How closely the image follows the prompt. Higher follows it more strictly."
        },
        {
          "key": "strength",
          "label": "Strength",
          "type": "float_slider",
          "min": 0,
          "max": 1,
          "default": 0.8,
          "step": 0.05,
          "help": "Only with an image. 1 replaces it completely; lower keeps more of it."
        }
      ],
      "references": {
        "mode": "optional",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-srpo",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "num_inference_steps": "{{fields.num_inference_steps}}",
          "seed": "{{fields.seed}}",
          "guidance_scale": "{{fields.guidance_scale}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.025,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ],
      "without_references": {
        "fields": [
          "size",
          "num_inference_steps",
          "seed",
          "guidance_scale",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "strength",
          "num_inference_steps",
          "seed",
          "guidance_scale",
          "output_format"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-srpo/image-to-image",
          "body": {
            "prompt": "{{prompt}}",
            "image": "{{image}}",
            "strength": "{{fields.strength}}",
            "num_inference_steps": "{{fields.num_inference_steps}}",
            "seed": "{{fields.seed}}",
            "guidance_scale": "{{fields.guidance_scale}}",
            "output_format": "{{fields.output_format}}"
          }
        },
        "pricing": {
          "per_image": 0.025,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "sizes": []
      }
    },
    {
      "id": "seedream-5-pro",
      "label": "Seedream 5.0 Pro",
      "group": "Seedream",
      "description": "ByteDance Seedream 5.0 Pro: controlled editing and generation with up to 10 images.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "1:2",
              "value": "1:2"
            },
            {
              "label": "2:1",
              "value": "2:1"
            },
            {
              "label": "1:3",
              "value": "1:3"
            },
            {
              "label": "3:1",
              "value": "3:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:21",
              "value": "9:21"
            },
            {
              "label": "21:9",
              "value": "21:9"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "1.5K",
              "value": "1.5k"
            },
            {
              "label": "2K",
              "value": "2k"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            }
          ]
        },
        {
          "key": "prompt_optimization_mode",
          "label": "Prompt Rewrite",
          "type": "combo",
          "default": "standard",
          "options": [
            {
              "label": "Standard",
              "value": "standard"
            },
            {
              "label": "Fast",
              "value": "fast"
            }
          ],
          "help": "Standard follows long prompts best. Fast rewrites more lightly and runs quicker."
        }
      ],
      "references": {
        "mode": "optional",
        "max": 10,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v5.0-pro",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "output_format": "{{fields.output_format}}",
          "prompt_optimization_mode": "{{fields.prompt_optimization_mode}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "resolution": {
            "1k": 0.045,
            "1.5k": 0.045,
            "2k": 0.09
          }
        },
        "per_image": 0.09,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "size_table": "seedream-5pro",
      "without_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "output_format",
          "prompt_optimization_mode"
        ]
      },
      "with_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "output_format",
          "prompt_optimization_mode"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v5.0-pro/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "aspect_ratio": "{{fields.aspect_ratio}}",
            "resolution": "{{fields.resolution}}",
            "output_format": "{{fields.output_format}}",
            "prompt_optimization_mode": "{{fields.prompt_optimization_mode}}"
          }
        },
        "pricing": {
          "by_field": {
            "resolution": {
              "1k": 0.045,
              "1.5k": 0.045,
              "2k": 0.09
            }
          },
          "per_image": 0.09,
          "per_input_image": 0.003,
          "free_input_images": 1,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "size_table": "seedream-5pro"
      }
    },
    {
      "id": "seedream-5-lite",
      "label": "Seedream 5.0 Lite",
      "group": "Seedream",
      "description": "ByteDance Seedream 5.0 Lite at 2K or 3K. Series makes a set of related images.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1920*1920",
          "options": [
            {
              "label": "1:1 (1920 x 1920)",
              "value": "1920*1920"
            },
            {
              "label": "4:3 (2304 x 1728)",
              "value": "2304*1728"
            },
            {
              "label": "3:4 (1728 x 2304)",
              "value": "1728*2304"
            },
            {
              "label": "3:2 (3072 x 2048)",
              "value": "3072*2048"
            },
            {
              "label": "2:3 (2048 x 3072)",
              "value": "2048*3072"
            },
            {
              "label": "16:9 (2560 x 1440)",
              "value": "2560*1440"
            },
            {
              "label": "9:16 (2048 x 3640)",
              "value": "2048*3640"
            },
            {
              "label": "21:9 (4778 x 2048)",
              "value": "4778*2048"
            },
            {
              "label": "1:1 (3072 x 3072)",
              "value": "3072*3072"
            },
            {
              "label": "4:3 (4096 x 3072)",
              "value": "4096*3072"
            },
            {
              "label": "3:4 (3072 x 4096)",
              "value": "3072*4096"
            },
            {
              "label": "3:2 (4608 x 3072)",
              "value": "4608*3072"
            },
            {
              "label": "2:3 (3072 x 4608)",
              "value": "3072*4608"
            },
            {
              "label": "16:9 (5461 x 3072)",
              "value": "5461*3072"
            },
            {
              "label": "9:16 (3072 x 5461)",
              "value": "3072*5461"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            }
          ]
        },
        {
          "key": "max_images",
          "label": "Images",
          "type": "int_slider",
          "min": 1,
          "max": 4,
          "default": 1
        }
      ],
      "references": {
        "mode": "optional",
        "max": 10,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v5.0-lite",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.035,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "tier": "2K",
          "width": 1920,
          "height": 1920,
          "values": {
            "size": "1920*1920"
          }
        },
        {
          "aspect": "4:3",
          "tier": "2K",
          "width": 2304,
          "height": 1728,
          "values": {
            "size": "2304*1728"
          }
        },
        {
          "aspect": "3:4",
          "tier": "2K",
          "width": 1728,
          "height": 2304,
          "values": {
            "size": "1728*2304"
          }
        },
        {
          "aspect": "3:2",
          "tier": "2K",
          "width": 3072,
          "height": 2048,
          "values": {
            "size": "3072*2048"
          }
        },
        {
          "aspect": "2:3",
          "tier": "2K",
          "width": 2048,
          "height": 3072,
          "values": {
            "size": "2048*3072"
          }
        },
        {
          "aspect": "16:9",
          "tier": "2K",
          "width": 2560,
          "height": 1440,
          "values": {
            "size": "2560*1440"
          }
        },
        {
          "aspect": "9:16",
          "tier": "2K",
          "width": 2048,
          "height": 3640,
          "values": {
            "size": "2048*3640"
          }
        },
        {
          "aspect": "21:9",
          "tier": "2K",
          "width": 4778,
          "height": 2048,
          "values": {
            "size": "4778*2048"
          }
        },
        {
          "aspect": "1:1",
          "tier": "3K",
          "width": 3072,
          "height": 3072,
          "values": {
            "size": "3072*3072"
          }
        },
        {
          "aspect": "4:3",
          "tier": "3K",
          "width": 4096,
          "height": 3072,
          "values": {
            "size": "4096*3072"
          }
        },
        {
          "aspect": "3:4",
          "tier": "3K",
          "width": 3072,
          "height": 4096,
          "values": {
            "size": "3072*4096"
          }
        },
        {
          "aspect": "3:2",
          "tier": "3K",
          "width": 4608,
          "height": 3072,
          "values": {
            "size": "4608*3072"
          }
        },
        {
          "aspect": "2:3",
          "tier": "3K",
          "width": 3072,
          "height": 4608,
          "values": {
            "size": "3072*4608"
          }
        },
        {
          "aspect": "16:9",
          "tier": "3K",
          "width": 5461,
          "height": 3072,
          "values": {
            "size": "5461*3072"
          }
        },
        {
          "aspect": "9:16",
          "tier": "3K",
          "width": 3072,
          "height": 5461,
          "values": {
            "size": "3072*5461"
          }
        }
      ],
      "variants": {
        "label": "Version",
        "default": "single",
        "options": [
          {
            "id": "single",
            "label": "Single",
            "description": "One image per run.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v5.0-lite",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "per_image": 0.035,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "size",
              "output_format"
            ],
            "sizes": [
              {
                "aspect": "1:1",
                "tier": "2K",
                "width": 1920,
                "height": 1920,
                "values": {
                  "size": "1920*1920"
                }
              },
              {
                "aspect": "4:3",
                "tier": "2K",
                "width": 2304,
                "height": 1728,
                "values": {
                  "size": "2304*1728"
                }
              },
              {
                "aspect": "3:4",
                "tier": "2K",
                "width": 1728,
                "height": 2304,
                "values": {
                  "size": "1728*2304"
                }
              },
              {
                "aspect": "3:2",
                "tier": "2K",
                "width": 3072,
                "height": 2048,
                "values": {
                  "size": "3072*2048"
                }
              },
              {
                "aspect": "2:3",
                "tier": "2K",
                "width": 2048,
                "height": 3072,
                "values": {
                  "size": "2048*3072"
                }
              },
              {
                "aspect": "16:9",
                "tier": "2K",
                "width": 2560,
                "height": 1440,
                "values": {
                  "size": "2560*1440"
                }
              },
              {
                "aspect": "9:16",
                "tier": "2K",
                "width": 2048,
                "height": 3640,
                "values": {
                  "size": "2048*3640"
                }
              },
              {
                "aspect": "21:9",
                "tier": "2K",
                "width": 4778,
                "height": 2048,
                "values": {
                  "size": "4778*2048"
                }
              },
              {
                "aspect": "1:1",
                "tier": "3K",
                "width": 3072,
                "height": 3072,
                "values": {
                  "size": "3072*3072"
                }
              },
              {
                "aspect": "4:3",
                "tier": "3K",
                "width": 4096,
                "height": 3072,
                "values": {
                  "size": "4096*3072"
                }
              },
              {
                "aspect": "3:4",
                "tier": "3K",
                "width": 3072,
                "height": 4096,
                "values": {
                  "size": "3072*4096"
                }
              },
              {
                "aspect": "3:2",
                "tier": "3K",
                "width": 4608,
                "height": 3072,
                "values": {
                  "size": "4608*3072"
                }
              },
              {
                "aspect": "2:3",
                "tier": "3K",
                "width": 3072,
                "height": 4608,
                "values": {
                  "size": "3072*4608"
                }
              },
              {
                "aspect": "16:9",
                "tier": "3K",
                "width": 5461,
                "height": 3072,
                "values": {
                  "size": "5461*3072"
                }
              },
              {
                "aspect": "9:16",
                "tier": "3K",
                "width": 3072,
                "height": 5461,
                "values": {
                  "size": "3072*5461"
                }
              }
            ],
            "with_references": {
              "fields": [
                "size",
                "output_format"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v5.0-lite/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "size": "{{fields.size}}",
                  "output_format": "{{fields.output_format}}"
                }
              },
              "pricing": {
                "per_image": 0.035,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "sizes": [
                {
                  "aspect": "1:1",
                  "tier": "2K",
                  "width": 1920,
                  "height": 1920,
                  "values": {
                    "size": "1920*1920"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "2K",
                  "width": 2304,
                  "height": 1728,
                  "values": {
                    "size": "2304*1728"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "2K",
                  "width": 1728,
                  "height": 2304,
                  "values": {
                    "size": "1728*2304"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "2K",
                  "width": 3072,
                  "height": 2048,
                  "values": {
                    "size": "3072*2048"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "2K",
                  "width": 2048,
                  "height": 3072,
                  "values": {
                    "size": "2048*3072"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "2K",
                  "width": 2560,
                  "height": 1440,
                  "values": {
                    "size": "2560*1440"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "2K",
                  "width": 2048,
                  "height": 3640,
                  "values": {
                    "size": "2048*3640"
                  }
                },
                {
                  "aspect": "21:9",
                  "tier": "2K",
                  "width": 4778,
                  "height": 2048,
                  "values": {
                    "size": "4778*2048"
                  }
                },
                {
                  "aspect": "1:1",
                  "tier": "3K",
                  "width": 3072,
                  "height": 3072,
                  "values": {
                    "size": "3072*3072"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "3K",
                  "width": 4096,
                  "height": 3072,
                  "values": {
                    "size": "4096*3072"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "3K",
                  "width": 3072,
                  "height": 4096,
                  "values": {
                    "size": "3072*4096"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "3K",
                  "width": 4608,
                  "height": 3072,
                  "values": {
                    "size": "4608*3072"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "3K",
                  "width": 3072,
                  "height": 4608,
                  "values": {
                    "size": "3072*4608"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "3K",
                  "width": 5461,
                  "height": 3072,
                  "values": {
                    "size": "5461*3072"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "3K",
                  "width": 3072,
                  "height": 5461,
                  "values": {
                    "size": "3072*5461"
                  }
                }
              ]
            },
            "without_references": {
              "fields": [
                "size",
                "output_format"
              ]
            }
          },
          {
            "id": "series",
            "label": "Series",
            "description": "A set of related images, up to 15.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v5.0-lite/sequential",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}",
                "max_images": "{{fields.max_images}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "count_field": "max_images",
              "per_image": 0.035,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "sizes": [
              {
                "aspect": "1:1",
                "tier": "2K",
                "width": 1920,
                "height": 1920,
                "values": {
                  "size": "1920*1920"
                }
              },
              {
                "aspect": "4:3",
                "tier": "2K",
                "width": 2304,
                "height": 1728,
                "values": {
                  "size": "2304*1728"
                }
              },
              {
                "aspect": "3:4",
                "tier": "2K",
                "width": 1728,
                "height": 2304,
                "values": {
                  "size": "1728*2304"
                }
              },
              {
                "aspect": "3:2",
                "tier": "2K",
                "width": 3072,
                "height": 2048,
                "values": {
                  "size": "3072*2048"
                }
              },
              {
                "aspect": "2:3",
                "tier": "2K",
                "width": 2048,
                "height": 3072,
                "values": {
                  "size": "2048*3072"
                }
              },
              {
                "aspect": "16:9",
                "tier": "2K",
                "width": 2560,
                "height": 1440,
                "values": {
                  "size": "2560*1440"
                }
              },
              {
                "aspect": "9:16",
                "tier": "2K",
                "width": 2048,
                "height": 3640,
                "values": {
                  "size": "2048*3640"
                }
              },
              {
                "aspect": "21:9",
                "tier": "2K",
                "width": 4778,
                "height": 2048,
                "values": {
                  "size": "4778*2048"
                }
              },
              {
                "aspect": "1:1",
                "tier": "3K",
                "width": 3072,
                "height": 3072,
                "values": {
                  "size": "3072*3072"
                }
              },
              {
                "aspect": "4:3",
                "tier": "3K",
                "width": 4096,
                "height": 3072,
                "values": {
                  "size": "4096*3072"
                }
              },
              {
                "aspect": "3:4",
                "tier": "3K",
                "width": 3072,
                "height": 4096,
                "values": {
                  "size": "3072*4096"
                }
              },
              {
                "aspect": "3:2",
                "tier": "3K",
                "width": 4608,
                "height": 3072,
                "values": {
                  "size": "4608*3072"
                }
              },
              {
                "aspect": "2:3",
                "tier": "3K",
                "width": 3072,
                "height": 4608,
                "values": {
                  "size": "3072*4608"
                }
              },
              {
                "aspect": "16:9",
                "tier": "3K",
                "width": 5461,
                "height": 3072,
                "values": {
                  "size": "5461*3072"
                }
              },
              {
                "aspect": "9:16",
                "tier": "3K",
                "width": 3072,
                "height": 5461,
                "values": {
                  "size": "3072*5461"
                }
              }
            ],
            "with_references": {
              "fields": [
                "size",
                "max_images",
                "output_format"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v5.0-lite/edit-sequential",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "size": "{{fields.size}}",
                  "max_images": "{{fields.max_images}}",
                  "output_format": "{{fields.output_format}}"
                }
              },
              "pricing": {
                "count_field": "max_images",
                "per_image": 0.035,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "sizes": [
                {
                  "aspect": "1:1",
                  "tier": "2K",
                  "width": 1920,
                  "height": 1920,
                  "values": {
                    "size": "1920*1920"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "2K",
                  "width": 2304,
                  "height": 1728,
                  "values": {
                    "size": "2304*1728"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "2K",
                  "width": 1728,
                  "height": 2304,
                  "values": {
                    "size": "1728*2304"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "2K",
                  "width": 3072,
                  "height": 2048,
                  "values": {
                    "size": "3072*2048"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "2K",
                  "width": 2048,
                  "height": 3072,
                  "values": {
                    "size": "2048*3072"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "2K",
                  "width": 2560,
                  "height": 1440,
                  "values": {
                    "size": "2560*1440"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "2K",
                  "width": 2048,
                  "height": 3640,
                  "values": {
                    "size": "2048*3640"
                  }
                },
                {
                  "aspect": "21:9",
                  "tier": "2K",
                  "width": 4778,
                  "height": 2048,
                  "values": {
                    "size": "4778*2048"
                  }
                },
                {
                  "aspect": "1:1",
                  "tier": "3K",
                  "width": 3072,
                  "height": 3072,
                  "values": {
                    "size": "3072*3072"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "3K",
                  "width": 4096,
                  "height": 3072,
                  "values": {
                    "size": "4096*3072"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "3K",
                  "width": 3072,
                  "height": 4096,
                  "values": {
                    "size": "3072*4096"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "3K",
                  "width": 4608,
                  "height": 3072,
                  "values": {
                    "size": "4608*3072"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "3K",
                  "width": 3072,
                  "height": 4608,
                  "values": {
                    "size": "3072*4608"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "3K",
                  "width": 5461,
                  "height": 3072,
                  "values": {
                    "size": "5461*3072"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "3K",
                  "width": 3072,
                  "height": 5461,
                  "values": {
                    "size": "3072*5461"
                  }
                }
              ]
            },
            "without_references": {
              "fields": [
                "size",
                "max_images",
                "output_format"
              ]
            }
          }
        ]
      }
    },
    {
      "id": "seedream-5-flash",
      "label": "Seedream 5.0 Flash",
      "group": "Seedream",
      "description": "ByteDance Seedream 5.0 Flash: fast, low cost generation and editing with up to 10 images.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "1:2",
              "value": "1:2"
            },
            {
              "label": "2:1",
              "value": "2:1"
            },
            {
              "label": "1:3",
              "value": "1:3"
            },
            {
              "label": "3:1",
              "value": "3:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:21",
              "value": "9:21"
            },
            {
              "label": "21:9",
              "value": "21:9"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "1.5K",
              "value": "1.5k"
            },
            {
              "label": "2K",
              "value": "2k"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            }
          ]
        }
      ],
      "references": {
        "mode": "optional",
        "max": 10,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v5.0-flash",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.027,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "output_format"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v5.0-flash/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "aspect_ratio": "{{fields.aspect_ratio}}",
            "resolution": "{{fields.resolution}}",
            "output_format": "{{fields.output_format}}"
          }
        },
        "pricing": {
          "per_image": 0.027,
          "note": "WaveSpeed's list price, from its Pricing API."
        }
      }
    },
    {
      "id": "seedream-4-5",
      "label": "Seedream 4.5",
      "group": "Seedream",
      "description": "ByteDance Seedream 4.5 at 2K and 4K. Series makes a set of related images.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "2048*2048",
          "options": [
            {
              "label": "1:1 (2048 x 2048)",
              "value": "2048*2048"
            },
            {
              "label": "4:3 (2730 x 2048)",
              "value": "2730*2048"
            },
            {
              "label": "3:4 (2048 x 2730)",
              "value": "2048*2730"
            },
            {
              "label": "3:2 (3072 x 2048)",
              "value": "3072*2048"
            },
            {
              "label": "2:3 (2048 x 3072)",
              "value": "2048*3072"
            },
            {
              "label": "16:9 (3640 x 2048)",
              "value": "3640*2048"
            },
            {
              "label": "9:16 (2048 x 3640)",
              "value": "2048*3640"
            },
            {
              "label": "21:9 (4778 x 2048)",
              "value": "4778*2048"
            },
            {
              "label": "1:1 (4096 x 4096)",
              "value": "4096*4096"
            },
            {
              "label": "4:3 (5461 x 4096)",
              "value": "5461*4096"
            },
            {
              "label": "3:4 (4096 x 5461)",
              "value": "4096*5461"
            },
            {
              "label": "3:2 (6144 x 4096)",
              "value": "6144*4096"
            },
            {
              "label": "2:3 (4096 x 6144)",
              "value": "4096*6144"
            },
            {
              "label": "16:9 (7281 x 4096)",
              "value": "7281*4096"
            },
            {
              "label": "9:16 (4096 x 7281)",
              "value": "4096*7281"
            },
            {
              "label": "21:9 (9557 x 4096)",
              "value": "9557*4096"
            }
          ]
        },
        {
          "key": "max_images",
          "label": "Images",
          "type": "int_slider",
          "min": 1,
          "max": 4,
          "default": 1
        }
      ],
      "references": {
        "mode": "optional",
        "max": 10,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v4.5",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "tier": "2K",
          "width": 2048,
          "height": 2048,
          "values": {
            "size": "2048*2048"
          }
        },
        {
          "aspect": "4:3",
          "tier": "2K",
          "width": 2730,
          "height": 2048,
          "values": {
            "size": "2730*2048"
          }
        },
        {
          "aspect": "3:4",
          "tier": "2K",
          "width": 2048,
          "height": 2730,
          "values": {
            "size": "2048*2730"
          }
        },
        {
          "aspect": "3:2",
          "tier": "2K",
          "width": 3072,
          "height": 2048,
          "values": {
            "size": "3072*2048"
          }
        },
        {
          "aspect": "2:3",
          "tier": "2K",
          "width": 2048,
          "height": 3072,
          "values": {
            "size": "2048*3072"
          }
        },
        {
          "aspect": "16:9",
          "tier": "2K",
          "width": 3640,
          "height": 2048,
          "values": {
            "size": "3640*2048"
          }
        },
        {
          "aspect": "9:16",
          "tier": "2K",
          "width": 2048,
          "height": 3640,
          "values": {
            "size": "2048*3640"
          }
        },
        {
          "aspect": "21:9",
          "tier": "2K",
          "width": 4778,
          "height": 2048,
          "values": {
            "size": "4778*2048"
          }
        },
        {
          "aspect": "1:1",
          "tier": "4K",
          "width": 4096,
          "height": 4096,
          "values": {
            "size": "4096*4096"
          }
        },
        {
          "aspect": "4:3",
          "tier": "4K",
          "width": 5461,
          "height": 4096,
          "values": {
            "size": "5461*4096"
          }
        },
        {
          "aspect": "3:4",
          "tier": "4K",
          "width": 4096,
          "height": 5461,
          "values": {
            "size": "4096*5461"
          }
        },
        {
          "aspect": "3:2",
          "tier": "4K",
          "width": 6144,
          "height": 4096,
          "values": {
            "size": "6144*4096"
          }
        },
        {
          "aspect": "2:3",
          "tier": "4K",
          "width": 4096,
          "height": 6144,
          "values": {
            "size": "4096*6144"
          }
        },
        {
          "aspect": "16:9",
          "tier": "4K",
          "width": 7281,
          "height": 4096,
          "values": {
            "size": "7281*4096"
          }
        },
        {
          "aspect": "9:16",
          "tier": "4K",
          "width": 4096,
          "height": 7281,
          "values": {
            "size": "4096*7281"
          }
        },
        {
          "aspect": "21:9",
          "tier": "4K",
          "width": 9557,
          "height": 4096,
          "values": {
            "size": "9557*4096"
          }
        }
      ],
      "variants": {
        "label": "Version",
        "default": "single",
        "options": [
          {
            "id": "single",
            "label": "Single",
            "description": "One image per run.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v4.5",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}"
              }
            },
            "pricing": {
              "per_image": 0.04,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "size"
            ],
            "sizes": [
              {
                "aspect": "1:1",
                "tier": "2K",
                "width": 2048,
                "height": 2048,
                "values": {
                  "size": "2048*2048"
                }
              },
              {
                "aspect": "4:3",
                "tier": "2K",
                "width": 2730,
                "height": 2048,
                "values": {
                  "size": "2730*2048"
                }
              },
              {
                "aspect": "3:4",
                "tier": "2K",
                "width": 2048,
                "height": 2730,
                "values": {
                  "size": "2048*2730"
                }
              },
              {
                "aspect": "3:2",
                "tier": "2K",
                "width": 3072,
                "height": 2048,
                "values": {
                  "size": "3072*2048"
                }
              },
              {
                "aspect": "2:3",
                "tier": "2K",
                "width": 2048,
                "height": 3072,
                "values": {
                  "size": "2048*3072"
                }
              },
              {
                "aspect": "16:9",
                "tier": "2K",
                "width": 3640,
                "height": 2048,
                "values": {
                  "size": "3640*2048"
                }
              },
              {
                "aspect": "9:16",
                "tier": "2K",
                "width": 2048,
                "height": 3640,
                "values": {
                  "size": "2048*3640"
                }
              },
              {
                "aspect": "21:9",
                "tier": "2K",
                "width": 4778,
                "height": 2048,
                "values": {
                  "size": "4778*2048"
                }
              },
              {
                "aspect": "1:1",
                "tier": "4K",
                "width": 4096,
                "height": 4096,
                "values": {
                  "size": "4096*4096"
                }
              },
              {
                "aspect": "4:3",
                "tier": "4K",
                "width": 5461,
                "height": 4096,
                "values": {
                  "size": "5461*4096"
                }
              },
              {
                "aspect": "3:4",
                "tier": "4K",
                "width": 4096,
                "height": 5461,
                "values": {
                  "size": "4096*5461"
                }
              },
              {
                "aspect": "3:2",
                "tier": "4K",
                "width": 6144,
                "height": 4096,
                "values": {
                  "size": "6144*4096"
                }
              },
              {
                "aspect": "2:3",
                "tier": "4K",
                "width": 4096,
                "height": 6144,
                "values": {
                  "size": "4096*6144"
                }
              },
              {
                "aspect": "16:9",
                "tier": "4K",
                "width": 7281,
                "height": 4096,
                "values": {
                  "size": "7281*4096"
                }
              },
              {
                "aspect": "9:16",
                "tier": "4K",
                "width": 4096,
                "height": 7281,
                "values": {
                  "size": "4096*7281"
                }
              },
              {
                "aspect": "21:9",
                "tier": "4K",
                "width": 9557,
                "height": 4096,
                "values": {
                  "size": "9557*4096"
                }
              }
            ],
            "with_references": {
              "fields": [
                "size"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v4.5/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "size": "{{fields.size}}"
                }
              },
              "pricing": {
                "per_image": 0.04,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "sizes": [
                {
                  "aspect": "1:1",
                  "tier": "2K",
                  "width": 2048,
                  "height": 2048,
                  "values": {
                    "size": "2048*2048"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "2K",
                  "width": 2730,
                  "height": 2048,
                  "values": {
                    "size": "2730*2048"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "2K",
                  "width": 2048,
                  "height": 2730,
                  "values": {
                    "size": "2048*2730"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "2K",
                  "width": 3072,
                  "height": 2048,
                  "values": {
                    "size": "3072*2048"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "2K",
                  "width": 2048,
                  "height": 3072,
                  "values": {
                    "size": "2048*3072"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "2K",
                  "width": 3640,
                  "height": 2048,
                  "values": {
                    "size": "3640*2048"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "2K",
                  "width": 2048,
                  "height": 3640,
                  "values": {
                    "size": "2048*3640"
                  }
                },
                {
                  "aspect": "21:9",
                  "tier": "2K",
                  "width": 4778,
                  "height": 2048,
                  "values": {
                    "size": "4778*2048"
                  }
                },
                {
                  "aspect": "1:1",
                  "tier": "4K",
                  "width": 4096,
                  "height": 4096,
                  "values": {
                    "size": "4096*4096"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "4K",
                  "width": 5461,
                  "height": 4096,
                  "values": {
                    "size": "5461*4096"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "4K",
                  "width": 4096,
                  "height": 5461,
                  "values": {
                    "size": "4096*5461"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "4K",
                  "width": 6144,
                  "height": 4096,
                  "values": {
                    "size": "6144*4096"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "4K",
                  "width": 4096,
                  "height": 6144,
                  "values": {
                    "size": "4096*6144"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "4K",
                  "width": 7281,
                  "height": 4096,
                  "values": {
                    "size": "7281*4096"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "4K",
                  "width": 4096,
                  "height": 7281,
                  "values": {
                    "size": "4096*7281"
                  }
                },
                {
                  "aspect": "21:9",
                  "tier": "4K",
                  "width": 9557,
                  "height": 4096,
                  "values": {
                    "size": "9557*4096"
                  }
                }
              ]
            },
            "without_references": {
              "fields": [
                "size"
              ]
            }
          },
          {
            "id": "series",
            "label": "Series",
            "description": "A set of related images, up to 15.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v4.5/sequential",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}",
                "max_images": "{{fields.max_images}}"
              }
            },
            "pricing": {
              "count_field": "max_images",
              "per_image": 0.04,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "sizes": [
              {
                "aspect": "1:1",
                "tier": "2K",
                "width": 2048,
                "height": 2048,
                "values": {
                  "size": "2048*2048"
                }
              },
              {
                "aspect": "4:3",
                "tier": "2K",
                "width": 2730,
                "height": 2048,
                "values": {
                  "size": "2730*2048"
                }
              },
              {
                "aspect": "3:4",
                "tier": "2K",
                "width": 2048,
                "height": 2730,
                "values": {
                  "size": "2048*2730"
                }
              },
              {
                "aspect": "3:2",
                "tier": "2K",
                "width": 3072,
                "height": 2048,
                "values": {
                  "size": "3072*2048"
                }
              },
              {
                "aspect": "2:3",
                "tier": "2K",
                "width": 2048,
                "height": 3072,
                "values": {
                  "size": "2048*3072"
                }
              },
              {
                "aspect": "16:9",
                "tier": "2K",
                "width": 3640,
                "height": 2048,
                "values": {
                  "size": "3640*2048"
                }
              },
              {
                "aspect": "9:16",
                "tier": "2K",
                "width": 2048,
                "height": 3640,
                "values": {
                  "size": "2048*3640"
                }
              },
              {
                "aspect": "21:9",
                "tier": "2K",
                "width": 4778,
                "height": 2048,
                "values": {
                  "size": "4778*2048"
                }
              },
              {
                "aspect": "1:1",
                "tier": "4K",
                "width": 4096,
                "height": 4096,
                "values": {
                  "size": "4096*4096"
                }
              },
              {
                "aspect": "4:3",
                "tier": "4K",
                "width": 5461,
                "height": 4096,
                "values": {
                  "size": "5461*4096"
                }
              },
              {
                "aspect": "3:4",
                "tier": "4K",
                "width": 4096,
                "height": 5461,
                "values": {
                  "size": "4096*5461"
                }
              },
              {
                "aspect": "3:2",
                "tier": "4K",
                "width": 6144,
                "height": 4096,
                "values": {
                  "size": "6144*4096"
                }
              },
              {
                "aspect": "2:3",
                "tier": "4K",
                "width": 4096,
                "height": 6144,
                "values": {
                  "size": "4096*6144"
                }
              },
              {
                "aspect": "16:9",
                "tier": "4K",
                "width": 7281,
                "height": 4096,
                "values": {
                  "size": "7281*4096"
                }
              },
              {
                "aspect": "9:16",
                "tier": "4K",
                "width": 4096,
                "height": 7281,
                "values": {
                  "size": "4096*7281"
                }
              },
              {
                "aspect": "21:9",
                "tier": "4K",
                "width": 9557,
                "height": 4096,
                "values": {
                  "size": "9557*4096"
                }
              }
            ],
            "with_references": {
              "fields": [
                "size",
                "max_images"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v4.5/edit-sequential",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "size": "{{fields.size}}",
                  "max_images": "{{fields.max_images}}"
                }
              },
              "pricing": {
                "count_field": "max_images",
                "per_image": 0.04,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "sizes": [
                {
                  "aspect": "1:1",
                  "tier": "2K",
                  "width": 2048,
                  "height": 2048,
                  "values": {
                    "size": "2048*2048"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "2K",
                  "width": 2730,
                  "height": 2048,
                  "values": {
                    "size": "2730*2048"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "2K",
                  "width": 2048,
                  "height": 2730,
                  "values": {
                    "size": "2048*2730"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "2K",
                  "width": 3072,
                  "height": 2048,
                  "values": {
                    "size": "3072*2048"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "2K",
                  "width": 2048,
                  "height": 3072,
                  "values": {
                    "size": "2048*3072"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "2K",
                  "width": 3640,
                  "height": 2048,
                  "values": {
                    "size": "3640*2048"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "2K",
                  "width": 2048,
                  "height": 3640,
                  "values": {
                    "size": "2048*3640"
                  }
                },
                {
                  "aspect": "21:9",
                  "tier": "2K",
                  "width": 4778,
                  "height": 2048,
                  "values": {
                    "size": "4778*2048"
                  }
                },
                {
                  "aspect": "1:1",
                  "tier": "4K",
                  "width": 4096,
                  "height": 4096,
                  "values": {
                    "size": "4096*4096"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "4K",
                  "width": 5461,
                  "height": 4096,
                  "values": {
                    "size": "5461*4096"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "4K",
                  "width": 4096,
                  "height": 5461,
                  "values": {
                    "size": "4096*5461"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "4K",
                  "width": 6144,
                  "height": 4096,
                  "values": {
                    "size": "6144*4096"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "4K",
                  "width": 4096,
                  "height": 6144,
                  "values": {
                    "size": "4096*6144"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "4K",
                  "width": 7281,
                  "height": 4096,
                  "values": {
                    "size": "7281*4096"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "4K",
                  "width": 4096,
                  "height": 7281,
                  "values": {
                    "size": "4096*7281"
                  }
                },
                {
                  "aspect": "21:9",
                  "tier": "4K",
                  "width": 9557,
                  "height": 4096,
                  "values": {
                    "size": "9557*4096"
                  }
                }
              ]
            },
            "without_references": {
              "fields": [
                "size",
                "max_images"
              ]
            }
          }
        ]
      }
    },
    {
      "id": "seedream-4",
      "label": "Seedream 4.0",
      "group": "Seedream",
      "description": "ByteDance Seedream 4.0 from 1K to 4K. Series makes a set of related images.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1365 x 1024)",
              "value": "1365*1024"
            },
            {
              "label": "3:4 (1024 x 1365)",
              "value": "1024*1365"
            },
            {
              "label": "3:2 (1536 x 1024)",
              "value": "1536*1024"
            },
            {
              "label": "2:3 (1024 x 1536)",
              "value": "1024*1536"
            },
            {
              "label": "16:9 (1820 x 1024)",
              "value": "1820*1024"
            },
            {
              "label": "9:16 (1024 x 1820)",
              "value": "1024*1820"
            },
            {
              "label": "21:9 (2389 x 1024)",
              "value": "2389*1024"
            },
            {
              "label": "1:1 (2048 x 2048)",
              "value": "2048*2048"
            },
            {
              "label": "4:3 (2730 x 2048)",
              "value": "2730*2048"
            },
            {
              "label": "3:4 (2048 x 2730)",
              "value": "2048*2730"
            },
            {
              "label": "3:2 (3072 x 2048)",
              "value": "3072*2048"
            },
            {
              "label": "2:3 (2048 x 3072)",
              "value": "2048*3072"
            },
            {
              "label": "16:9 (3640 x 2048)",
              "value": "3640*2048"
            },
            {
              "label": "9:16 (2048 x 3640)",
              "value": "2048*3640"
            },
            {
              "label": "21:9 (4778 x 2048)",
              "value": "4778*2048"
            },
            {
              "label": "1:1 (4096 x 4096)",
              "value": "4096*4096"
            },
            {
              "label": "4:3 (5461 x 4096)",
              "value": "5461*4096"
            },
            {
              "label": "3:4 (4096 x 5461)",
              "value": "4096*5461"
            },
            {
              "label": "3:2 (6144 x 4096)",
              "value": "6144*4096"
            },
            {
              "label": "2:3 (4096 x 6144)",
              "value": "4096*6144"
            },
            {
              "label": "16:9 (7281 x 4096)",
              "value": "7281*4096"
            },
            {
              "label": "9:16 (4096 x 7281)",
              "value": "4096*7281"
            },
            {
              "label": "21:9 (9557 x 4096)",
              "value": "9557*4096"
            }
          ]
        },
        {
          "key": "max_images",
          "label": "Images",
          "type": "int_slider",
          "min": 1,
          "max": 4,
          "default": 1
        }
      ],
      "references": {
        "mode": "optional",
        "max": 10,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v4",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.027,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "tier": "1K",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "tier": "1K",
          "width": 1365,
          "height": 1024,
          "values": {
            "size": "1365*1024"
          }
        },
        {
          "aspect": "3:4",
          "tier": "1K",
          "width": 1024,
          "height": 1365,
          "values": {
            "size": "1024*1365"
          }
        },
        {
          "aspect": "3:2",
          "tier": "1K",
          "width": 1536,
          "height": 1024,
          "values": {
            "size": "1536*1024"
          }
        },
        {
          "aspect": "2:3",
          "tier": "1K",
          "width": 1024,
          "height": 1536,
          "values": {
            "size": "1024*1536"
          }
        },
        {
          "aspect": "16:9",
          "tier": "1K",
          "width": 1820,
          "height": 1024,
          "values": {
            "size": "1820*1024"
          }
        },
        {
          "aspect": "9:16",
          "tier": "1K",
          "width": 1024,
          "height": 1820,
          "values": {
            "size": "1024*1820"
          }
        },
        {
          "aspect": "21:9",
          "tier": "1K",
          "width": 2389,
          "height": 1024,
          "values": {
            "size": "2389*1024"
          }
        },
        {
          "aspect": "1:1",
          "tier": "2K",
          "width": 2048,
          "height": 2048,
          "values": {
            "size": "2048*2048"
          }
        },
        {
          "aspect": "4:3",
          "tier": "2K",
          "width": 2730,
          "height": 2048,
          "values": {
            "size": "2730*2048"
          }
        },
        {
          "aspect": "3:4",
          "tier": "2K",
          "width": 2048,
          "height": 2730,
          "values": {
            "size": "2048*2730"
          }
        },
        {
          "aspect": "3:2",
          "tier": "2K",
          "width": 3072,
          "height": 2048,
          "values": {
            "size": "3072*2048"
          }
        },
        {
          "aspect": "2:3",
          "tier": "2K",
          "width": 2048,
          "height": 3072,
          "values": {
            "size": "2048*3072"
          }
        },
        {
          "aspect": "16:9",
          "tier": "2K",
          "width": 3640,
          "height": 2048,
          "values": {
            "size": "3640*2048"
          }
        },
        {
          "aspect": "9:16",
          "tier": "2K",
          "width": 2048,
          "height": 3640,
          "values": {
            "size": "2048*3640"
          }
        },
        {
          "aspect": "21:9",
          "tier": "2K",
          "width": 4778,
          "height": 2048,
          "values": {
            "size": "4778*2048"
          }
        },
        {
          "aspect": "1:1",
          "tier": "4K",
          "width": 4096,
          "height": 4096,
          "values": {
            "size": "4096*4096"
          }
        },
        {
          "aspect": "4:3",
          "tier": "4K",
          "width": 5461,
          "height": 4096,
          "values": {
            "size": "5461*4096"
          }
        },
        {
          "aspect": "3:4",
          "tier": "4K",
          "width": 4096,
          "height": 5461,
          "values": {
            "size": "4096*5461"
          }
        },
        {
          "aspect": "3:2",
          "tier": "4K",
          "width": 6144,
          "height": 4096,
          "values": {
            "size": "6144*4096"
          }
        },
        {
          "aspect": "2:3",
          "tier": "4K",
          "width": 4096,
          "height": 6144,
          "values": {
            "size": "4096*6144"
          }
        },
        {
          "aspect": "16:9",
          "tier": "4K",
          "width": 7281,
          "height": 4096,
          "values": {
            "size": "7281*4096"
          }
        },
        {
          "aspect": "9:16",
          "tier": "4K",
          "width": 4096,
          "height": 7281,
          "values": {
            "size": "4096*7281"
          }
        },
        {
          "aspect": "21:9",
          "tier": "4K",
          "width": 9557,
          "height": 4096,
          "values": {
            "size": "9557*4096"
          }
        }
      ],
      "variants": {
        "label": "Version",
        "default": "single",
        "options": [
          {
            "id": "single",
            "label": "Single",
            "description": "One image per run.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v4",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}"
              }
            },
            "pricing": {
              "per_image": 0.027,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "size"
            ],
            "sizes": [
              {
                "aspect": "1:1",
                "tier": "1K",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "tier": "1K",
                "width": 1365,
                "height": 1024,
                "values": {
                  "size": "1365*1024"
                }
              },
              {
                "aspect": "3:4",
                "tier": "1K",
                "width": 1024,
                "height": 1365,
                "values": {
                  "size": "1024*1365"
                }
              },
              {
                "aspect": "3:2",
                "tier": "1K",
                "width": 1536,
                "height": 1024,
                "values": {
                  "size": "1536*1024"
                }
              },
              {
                "aspect": "2:3",
                "tier": "1K",
                "width": 1024,
                "height": 1536,
                "values": {
                  "size": "1024*1536"
                }
              },
              {
                "aspect": "16:9",
                "tier": "1K",
                "width": 1820,
                "height": 1024,
                "values": {
                  "size": "1820*1024"
                }
              },
              {
                "aspect": "9:16",
                "tier": "1K",
                "width": 1024,
                "height": 1820,
                "values": {
                  "size": "1024*1820"
                }
              },
              {
                "aspect": "21:9",
                "tier": "1K",
                "width": 2389,
                "height": 1024,
                "values": {
                  "size": "2389*1024"
                }
              },
              {
                "aspect": "1:1",
                "tier": "2K",
                "width": 2048,
                "height": 2048,
                "values": {
                  "size": "2048*2048"
                }
              },
              {
                "aspect": "4:3",
                "tier": "2K",
                "width": 2730,
                "height": 2048,
                "values": {
                  "size": "2730*2048"
                }
              },
              {
                "aspect": "3:4",
                "tier": "2K",
                "width": 2048,
                "height": 2730,
                "values": {
                  "size": "2048*2730"
                }
              },
              {
                "aspect": "3:2",
                "tier": "2K",
                "width": 3072,
                "height": 2048,
                "values": {
                  "size": "3072*2048"
                }
              },
              {
                "aspect": "2:3",
                "tier": "2K",
                "width": 2048,
                "height": 3072,
                "values": {
                  "size": "2048*3072"
                }
              },
              {
                "aspect": "16:9",
                "tier": "2K",
                "width": 3640,
                "height": 2048,
                "values": {
                  "size": "3640*2048"
                }
              },
              {
                "aspect": "9:16",
                "tier": "2K",
                "width": 2048,
                "height": 3640,
                "values": {
                  "size": "2048*3640"
                }
              },
              {
                "aspect": "21:9",
                "tier": "2K",
                "width": 4778,
                "height": 2048,
                "values": {
                  "size": "4778*2048"
                }
              },
              {
                "aspect": "1:1",
                "tier": "4K",
                "width": 4096,
                "height": 4096,
                "values": {
                  "size": "4096*4096"
                }
              },
              {
                "aspect": "4:3",
                "tier": "4K",
                "width": 5461,
                "height": 4096,
                "values": {
                  "size": "5461*4096"
                }
              },
              {
                "aspect": "3:4",
                "tier": "4K",
                "width": 4096,
                "height": 5461,
                "values": {
                  "size": "4096*5461"
                }
              },
              {
                "aspect": "3:2",
                "tier": "4K",
                "width": 6144,
                "height": 4096,
                "values": {
                  "size": "6144*4096"
                }
              },
              {
                "aspect": "2:3",
                "tier": "4K",
                "width": 4096,
                "height": 6144,
                "values": {
                  "size": "4096*6144"
                }
              },
              {
                "aspect": "16:9",
                "tier": "4K",
                "width": 7281,
                "height": 4096,
                "values": {
                  "size": "7281*4096"
                }
              },
              {
                "aspect": "9:16",
                "tier": "4K",
                "width": 4096,
                "height": 7281,
                "values": {
                  "size": "4096*7281"
                }
              },
              {
                "aspect": "21:9",
                "tier": "4K",
                "width": 9557,
                "height": 4096,
                "values": {
                  "size": "9557*4096"
                }
              }
            ],
            "with_references": {
              "fields": [
                "size"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v4/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "size": "{{fields.size}}"
                }
              },
              "pricing": {
                "per_image": 0.027,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "sizes": [
                {
                  "aspect": "1:1",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1024,
                  "values": {
                    "size": "1024*1024"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "1K",
                  "width": 1365,
                  "height": 1024,
                  "values": {
                    "size": "1365*1024"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1365,
                  "values": {
                    "size": "1024*1365"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "1K",
                  "width": 1536,
                  "height": 1024,
                  "values": {
                    "size": "1536*1024"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1536,
                  "values": {
                    "size": "1024*1536"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "1K",
                  "width": 1820,
                  "height": 1024,
                  "values": {
                    "size": "1820*1024"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1820,
                  "values": {
                    "size": "1024*1820"
                  }
                },
                {
                  "aspect": "21:9",
                  "tier": "1K",
                  "width": 2389,
                  "height": 1024,
                  "values": {
                    "size": "2389*1024"
                  }
                },
                {
                  "aspect": "1:1",
                  "tier": "2K",
                  "width": 2048,
                  "height": 2048,
                  "values": {
                    "size": "2048*2048"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "2K",
                  "width": 2730,
                  "height": 2048,
                  "values": {
                    "size": "2730*2048"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "2K",
                  "width": 2048,
                  "height": 2730,
                  "values": {
                    "size": "2048*2730"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "2K",
                  "width": 3072,
                  "height": 2048,
                  "values": {
                    "size": "3072*2048"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "2K",
                  "width": 2048,
                  "height": 3072,
                  "values": {
                    "size": "2048*3072"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "2K",
                  "width": 3640,
                  "height": 2048,
                  "values": {
                    "size": "3640*2048"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "2K",
                  "width": 2048,
                  "height": 3640,
                  "values": {
                    "size": "2048*3640"
                  }
                },
                {
                  "aspect": "21:9",
                  "tier": "2K",
                  "width": 4778,
                  "height": 2048,
                  "values": {
                    "size": "4778*2048"
                  }
                },
                {
                  "aspect": "1:1",
                  "tier": "4K",
                  "width": 4096,
                  "height": 4096,
                  "values": {
                    "size": "4096*4096"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "4K",
                  "width": 5461,
                  "height": 4096,
                  "values": {
                    "size": "5461*4096"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "4K",
                  "width": 4096,
                  "height": 5461,
                  "values": {
                    "size": "4096*5461"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "4K",
                  "width": 6144,
                  "height": 4096,
                  "values": {
                    "size": "6144*4096"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "4K",
                  "width": 4096,
                  "height": 6144,
                  "values": {
                    "size": "4096*6144"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "4K",
                  "width": 7281,
                  "height": 4096,
                  "values": {
                    "size": "7281*4096"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "4K",
                  "width": 4096,
                  "height": 7281,
                  "values": {
                    "size": "4096*7281"
                  }
                },
                {
                  "aspect": "21:9",
                  "tier": "4K",
                  "width": 9557,
                  "height": 4096,
                  "values": {
                    "size": "9557*4096"
                  }
                }
              ]
            },
            "without_references": {
              "fields": [
                "size"
              ]
            }
          },
          {
            "id": "series",
            "label": "Series",
            "description": "A set of related images, up to 15.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v4/sequential",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}",
                "max_images": "{{fields.max_images}}"
              }
            },
            "pricing": {
              "count_field": "max_images",
              "per_image": 0.027,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "sizes": [
              {
                "aspect": "1:1",
                "tier": "1K",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "tier": "1K",
                "width": 1365,
                "height": 1024,
                "values": {
                  "size": "1365*1024"
                }
              },
              {
                "aspect": "3:4",
                "tier": "1K",
                "width": 1024,
                "height": 1365,
                "values": {
                  "size": "1024*1365"
                }
              },
              {
                "aspect": "3:2",
                "tier": "1K",
                "width": 1536,
                "height": 1024,
                "values": {
                  "size": "1536*1024"
                }
              },
              {
                "aspect": "2:3",
                "tier": "1K",
                "width": 1024,
                "height": 1536,
                "values": {
                  "size": "1024*1536"
                }
              },
              {
                "aspect": "16:9",
                "tier": "1K",
                "width": 1820,
                "height": 1024,
                "values": {
                  "size": "1820*1024"
                }
              },
              {
                "aspect": "9:16",
                "tier": "1K",
                "width": 1024,
                "height": 1820,
                "values": {
                  "size": "1024*1820"
                }
              },
              {
                "aspect": "21:9",
                "tier": "1K",
                "width": 2389,
                "height": 1024,
                "values": {
                  "size": "2389*1024"
                }
              },
              {
                "aspect": "1:1",
                "tier": "2K",
                "width": 2048,
                "height": 2048,
                "values": {
                  "size": "2048*2048"
                }
              },
              {
                "aspect": "4:3",
                "tier": "2K",
                "width": 2730,
                "height": 2048,
                "values": {
                  "size": "2730*2048"
                }
              },
              {
                "aspect": "3:4",
                "tier": "2K",
                "width": 2048,
                "height": 2730,
                "values": {
                  "size": "2048*2730"
                }
              },
              {
                "aspect": "3:2",
                "tier": "2K",
                "width": 3072,
                "height": 2048,
                "values": {
                  "size": "3072*2048"
                }
              },
              {
                "aspect": "2:3",
                "tier": "2K",
                "width": 2048,
                "height": 3072,
                "values": {
                  "size": "2048*3072"
                }
              },
              {
                "aspect": "16:9",
                "tier": "2K",
                "width": 3640,
                "height": 2048,
                "values": {
                  "size": "3640*2048"
                }
              },
              {
                "aspect": "9:16",
                "tier": "2K",
                "width": 2048,
                "height": 3640,
                "values": {
                  "size": "2048*3640"
                }
              },
              {
                "aspect": "21:9",
                "tier": "2K",
                "width": 4778,
                "height": 2048,
                "values": {
                  "size": "4778*2048"
                }
              },
              {
                "aspect": "1:1",
                "tier": "4K",
                "width": 4096,
                "height": 4096,
                "values": {
                  "size": "4096*4096"
                }
              },
              {
                "aspect": "4:3",
                "tier": "4K",
                "width": 5461,
                "height": 4096,
                "values": {
                  "size": "5461*4096"
                }
              },
              {
                "aspect": "3:4",
                "tier": "4K",
                "width": 4096,
                "height": 5461,
                "values": {
                  "size": "4096*5461"
                }
              },
              {
                "aspect": "3:2",
                "tier": "4K",
                "width": 6144,
                "height": 4096,
                "values": {
                  "size": "6144*4096"
                }
              },
              {
                "aspect": "2:3",
                "tier": "4K",
                "width": 4096,
                "height": 6144,
                "values": {
                  "size": "4096*6144"
                }
              },
              {
                "aspect": "16:9",
                "tier": "4K",
                "width": 7281,
                "height": 4096,
                "values": {
                  "size": "7281*4096"
                }
              },
              {
                "aspect": "9:16",
                "tier": "4K",
                "width": 4096,
                "height": 7281,
                "values": {
                  "size": "4096*7281"
                }
              },
              {
                "aspect": "21:9",
                "tier": "4K",
                "width": 9557,
                "height": 4096,
                "values": {
                  "size": "9557*4096"
                }
              }
            ],
            "with_references": {
              "fields": [
                "size",
                "max_images"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v4/edit-sequential",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "size": "{{fields.size}}",
                  "max_images": "{{fields.max_images}}"
                }
              },
              "pricing": {
                "count_field": "max_images",
                "per_image": 0.027,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "sizes": [
                {
                  "aspect": "1:1",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1024,
                  "values": {
                    "size": "1024*1024"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "1K",
                  "width": 1365,
                  "height": 1024,
                  "values": {
                    "size": "1365*1024"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1365,
                  "values": {
                    "size": "1024*1365"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "1K",
                  "width": 1536,
                  "height": 1024,
                  "values": {
                    "size": "1536*1024"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1536,
                  "values": {
                    "size": "1024*1536"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "1K",
                  "width": 1820,
                  "height": 1024,
                  "values": {
                    "size": "1820*1024"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1820,
                  "values": {
                    "size": "1024*1820"
                  }
                },
                {
                  "aspect": "21:9",
                  "tier": "1K",
                  "width": 2389,
                  "height": 1024,
                  "values": {
                    "size": "2389*1024"
                  }
                },
                {
                  "aspect": "1:1",
                  "tier": "2K",
                  "width": 2048,
                  "height": 2048,
                  "values": {
                    "size": "2048*2048"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "2K",
                  "width": 2730,
                  "height": 2048,
                  "values": {
                    "size": "2730*2048"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "2K",
                  "width": 2048,
                  "height": 2730,
                  "values": {
                    "size": "2048*2730"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "2K",
                  "width": 3072,
                  "height": 2048,
                  "values": {
                    "size": "3072*2048"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "2K",
                  "width": 2048,
                  "height": 3072,
                  "values": {
                    "size": "2048*3072"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "2K",
                  "width": 3640,
                  "height": 2048,
                  "values": {
                    "size": "3640*2048"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "2K",
                  "width": 2048,
                  "height": 3640,
                  "values": {
                    "size": "2048*3640"
                  }
                },
                {
                  "aspect": "21:9",
                  "tier": "2K",
                  "width": 4778,
                  "height": 2048,
                  "values": {
                    "size": "4778*2048"
                  }
                },
                {
                  "aspect": "1:1",
                  "tier": "4K",
                  "width": 4096,
                  "height": 4096,
                  "values": {
                    "size": "4096*4096"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "4K",
                  "width": 5461,
                  "height": 4096,
                  "values": {
                    "size": "5461*4096"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "4K",
                  "width": 4096,
                  "height": 5461,
                  "values": {
                    "size": "4096*5461"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "4K",
                  "width": 6144,
                  "height": 4096,
                  "values": {
                    "size": "6144*4096"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "4K",
                  "width": 4096,
                  "height": 6144,
                  "values": {
                    "size": "4096*6144"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "4K",
                  "width": 7281,
                  "height": 4096,
                  "values": {
                    "size": "7281*4096"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "4K",
                  "width": 4096,
                  "height": 7281,
                  "values": {
                    "size": "4096*7281"
                  }
                },
                {
                  "aspect": "21:9",
                  "tier": "4K",
                  "width": 9557,
                  "height": 4096,
                  "values": {
                    "size": "9557*4096"
                  }
                }
              ]
            },
            "without_references": {
              "fields": [
                "size",
                "max_images"
              ]
            }
          }
        ]
      }
    },
    {
      "id": "seedream-layers",
      "label": "Seedream Layers",
      "group": "Seedream",
      "description": "Seedream 5.0 Layer Decomposition splits your image into editable layers. Wando saves each layer and a layered composite.",
      "prompt": {
        "mode": "optional"
      },
      "fields": [
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "1.5K",
              "value": "1.5k"
            },
            {
              "label": "2K",
              "value": "2k"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            }
          ]
        },
        {
          "key": "prompt_optimization_mode",
          "label": "Prompt Rewrite",
          "type": "combo",
          "default": "standard",
          "options": [
            {
              "label": "Standard",
              "value": "standard"
            },
            {
              "label": "Fast",
              "value": "fast"
            }
          ],
          "help": "Standard follows long prompts best. Fast rewrites more lightly and runs quicker."
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v5.0-flash/layer-decomposition",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "resolution": "{{fields.resolution}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 1200
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url",
        "kind": "layers",
        "layer_order": "bottom_first"
      },
      "pricing": {
        "per_image": 0.459,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "variants": {
        "label": "Version",
        "default": "flash",
        "options": [
          {
            "id": "flash",
            "label": "Flash",
            "description": "The quicker, cheaper split.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v5.0-flash/layer-decomposition",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "image": "{{image}}",
                "resolution": "{{fields.resolution}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "per_image": 0.459,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "resolution",
              "output_format"
            ]
          },
          {
            "id": "pro",
            "label": "Pro",
            "description": "The most careful split.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/bytedance/seedream-v5.0-pro/layer-decomposition",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "image": "{{image}}",
                "resolution": "{{fields.resolution}}",
                "output_format": "{{fields.output_format}}",
                "prompt_optimization_mode": "{{fields.prompt_optimization_mode}}"
              }
            },
            "pricing": {
              "by_field": {
                "resolution": {
                  "1k": 0.765,
                  "1.5k": 0.765,
                  "2k": 1.53
                }
              },
              "per_image": 1.53,
              "note": "WaveSpeed's list price, from its Pricing API."
            }
          }
        ]
      }
    },
    {
      "id": "qwen-image-3",
      "label": "Qwen Image 3.0",
      "group": "Qwen",
      "description": "Alibaba Qwen Image 3.0: generation and editing with sharp layout and lettering. Pro is sharper.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "1:2",
              "value": "1:2"
            },
            {
              "label": "2:1",
              "value": "2:1"
            },
            {
              "label": "1:3",
              "value": "1:3"
            },
            {
              "label": "3:1",
              "value": "3:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:21",
              "value": "9:21"
            },
            {
              "label": "21:9",
              "value": "21:9"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "2K",
              "value": "2k"
            }
          ]
        },
        {
          "key": "enable_prompt_expansion",
          "label": "Rewrite Prompt",
          "type": "bool",
          "default": false,
          "help": "The model adds detail to your prompt. Turn it off to keep your exact words."
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 3,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/alibaba/qwen-image-3.0/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "enable_prompt_expansion": "{{fields.enable_prompt_expansion}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.03,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "size_table": "qwen-v3",
      "variants": {
        "label": "Version",
        "default": "standard",
        "options": [
          {
            "id": "standard",
            "label": "Standard",
            "description": "The standard model.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/alibaba/qwen-image-3.0/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "aspect_ratio": "{{fields.aspect_ratio}}",
                "resolution": "{{fields.resolution}}",
                "enable_prompt_expansion": "{{fields.enable_prompt_expansion}}",
                "seed": "{{fields.seed}}"
              }
            },
            "pricing": {
              "per_image": 0.03,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "size_table": "qwen-v3",
            "with_references": {
              "fields": [
                "aspect_ratio",
                "resolution",
                "enable_prompt_expansion",
                "seed"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/alibaba/qwen-image-3.0/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "aspect_ratio": "{{fields.aspect_ratio}}",
                  "resolution": "{{fields.resolution}}",
                  "enable_prompt_expansion": "{{fields.enable_prompt_expansion}}",
                  "seed": "{{fields.seed}}"
                }
              },
              "pricing": {
                "per_image": 0.033,
                "per_input_image": 0.003,
                "free_input_images": 1,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "size_table": "qwen-v3"
            },
            "without_references": {
              "fields": [
                "aspect_ratio",
                "resolution",
                "enable_prompt_expansion",
                "seed"
              ]
            }
          },
          {
            "id": "pro",
            "label": "Pro",
            "description": "Higher quality.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/alibaba/qwen-image-3.0-pro/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "aspect_ratio": "{{fields.aspect_ratio}}",
                "resolution": "{{fields.resolution}}",
                "enable_prompt_expansion": "{{fields.enable_prompt_expansion}}",
                "seed": "{{fields.seed}}"
              }
            },
            "pricing": {
              "by_field": {
                "resolution": {
                  "1k": 0.04,
                  "2k": 0.075
                }
              },
              "per_image": 0.075,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "size_table": "qwen-v3",
            "with_references": {
              "fields": [
                "aspect_ratio",
                "resolution",
                "enable_prompt_expansion",
                "seed"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/alibaba/qwen-image-3.0-pro/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "aspect_ratio": "{{fields.aspect_ratio}}",
                  "resolution": "{{fields.resolution}}",
                  "enable_prompt_expansion": "{{fields.enable_prompt_expansion}}",
                  "seed": "{{fields.seed}}"
                }
              },
              "pricing": {
                "by_field": {
                  "resolution": {
                    "1k": 0.043,
                    "2k": 0.078
                  }
                },
                "per_image": 0.078,
                "per_input_image": 0.003,
                "free_input_images": 1,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "size_table": "qwen-v3"
            },
            "without_references": {
              "fields": [
                "aspect_ratio",
                "resolution",
                "enable_prompt_expansion",
                "seed"
              ]
            }
          }
        ]
      }
    },
    {
      "id": "qwen-image-2",
      "label": "Qwen Image 2.0",
      "group": "Qwen",
      "description": "Alibaba Qwen Image 2.0: generation and editing with professional lettering. Pro is sharper.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1365 x 1024)",
              "value": "1365*1024"
            },
            {
              "label": "3:4 (1024 x 1365)",
              "value": "1024*1365"
            },
            {
              "label": "3:2 (1536 x 1024)",
              "value": "1536*1024"
            },
            {
              "label": "2:3 (1024 x 1536)",
              "value": "1024*1536"
            },
            {
              "label": "16:9 (1820 x 1024)",
              "value": "1820*1024"
            },
            {
              "label": "9:16 (1024 x 1820)",
              "value": "1024*1820"
            },
            {
              "label": "21:9 (2389 x 1024)",
              "value": "2389*1024"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 3,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/qwen-image-2.0/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.03,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1365,
          "height": 1024,
          "values": {
            "size": "1365*1024"
          }
        },
        {
          "aspect": "3:4",
          "width": 1024,
          "height": 1365,
          "values": {
            "size": "1024*1365"
          }
        },
        {
          "aspect": "3:2",
          "width": 1536,
          "height": 1024,
          "values": {
            "size": "1536*1024"
          }
        },
        {
          "aspect": "2:3",
          "width": 1024,
          "height": 1536,
          "values": {
            "size": "1024*1536"
          }
        },
        {
          "aspect": "16:9",
          "width": 1820,
          "height": 1024,
          "values": {
            "size": "1820*1024"
          }
        },
        {
          "aspect": "9:16",
          "width": 1024,
          "height": 1820,
          "values": {
            "size": "1024*1820"
          }
        },
        {
          "aspect": "21:9",
          "width": 2389,
          "height": 1024,
          "values": {
            "size": "2389*1024"
          }
        }
      ],
      "variants": {
        "label": "Version",
        "default": "standard",
        "options": [
          {
            "id": "standard",
            "label": "Standard",
            "description": "The standard model.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/qwen-image-2.0/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}",
                "seed": "{{fields.seed}}"
              }
            },
            "pricing": {
              "per_image": 0.03,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "sizes": [
              {
                "aspect": "1:1",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "width": 1365,
                "height": 1024,
                "values": {
                  "size": "1365*1024"
                }
              },
              {
                "aspect": "3:4",
                "width": 1024,
                "height": 1365,
                "values": {
                  "size": "1024*1365"
                }
              },
              {
                "aspect": "3:2",
                "width": 1536,
                "height": 1024,
                "values": {
                  "size": "1536*1024"
                }
              },
              {
                "aspect": "2:3",
                "width": 1024,
                "height": 1536,
                "values": {
                  "size": "1024*1536"
                }
              },
              {
                "aspect": "16:9",
                "width": 1820,
                "height": 1024,
                "values": {
                  "size": "1820*1024"
                }
              },
              {
                "aspect": "9:16",
                "width": 1024,
                "height": 1820,
                "values": {
                  "size": "1024*1820"
                }
              },
              {
                "aspect": "21:9",
                "width": 2389,
                "height": 1024,
                "values": {
                  "size": "2389*1024"
                }
              }
            ],
            "with_references": {
              "fields": [
                "seed"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/qwen-image-2.0/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "seed": "{{fields.seed}}"
                }
              },
              "pricing": {
                "per_image": 0.03,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "sizes": []
            },
            "without_references": {
              "fields": [
                "size",
                "seed"
              ]
            }
          },
          {
            "id": "pro",
            "label": "Pro",
            "description": "Higher quality.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/qwen-image-2.0-pro/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}",
                "seed": "{{fields.seed}}"
              }
            },
            "pricing": {
              "per_image": 0.07,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "sizes": [
              {
                "aspect": "1:1",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "width": 1365,
                "height": 1024,
                "values": {
                  "size": "1365*1024"
                }
              },
              {
                "aspect": "3:4",
                "width": 1024,
                "height": 1365,
                "values": {
                  "size": "1024*1365"
                }
              },
              {
                "aspect": "3:2",
                "width": 1536,
                "height": 1024,
                "values": {
                  "size": "1536*1024"
                }
              },
              {
                "aspect": "2:3",
                "width": 1024,
                "height": 1536,
                "values": {
                  "size": "1024*1536"
                }
              },
              {
                "aspect": "16:9",
                "width": 1820,
                "height": 1024,
                "values": {
                  "size": "1820*1024"
                }
              },
              {
                "aspect": "9:16",
                "width": 1024,
                "height": 1820,
                "values": {
                  "size": "1024*1820"
                }
              },
              {
                "aspect": "21:9",
                "width": 2389,
                "height": 1024,
                "values": {
                  "size": "2389*1024"
                }
              }
            ],
            "with_references": {
              "fields": [
                "seed"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/qwen-image-2.0-pro/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "seed": "{{fields.seed}}"
                }
              },
              "pricing": {
                "per_image": 0.07,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "sizes": []
            },
            "without_references": {
              "fields": [
                "size",
                "seed"
              ]
            }
          }
        ]
      }
    },
    {
      "id": "qwen-image-max",
      "label": "Qwen Image Max",
      "group": "Qwen",
      "description": "Alibaba Qwen Image Max, the largest Qwen image model, for generation and editing.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1365 x 1024)",
              "value": "1365*1024"
            },
            {
              "label": "3:4 (1024 x 1365)",
              "value": "1024*1365"
            },
            {
              "label": "3:2 (1536 x 1024)",
              "value": "1536*1024"
            },
            {
              "label": "2:3 (1024 x 1536)",
              "value": "1024*1536"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 3,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/qwen-image-max/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.07,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1365,
          "height": 1024,
          "values": {
            "size": "1365*1024"
          }
        },
        {
          "aspect": "3:4",
          "width": 1024,
          "height": 1365,
          "values": {
            "size": "1024*1365"
          }
        },
        {
          "aspect": "3:2",
          "width": 1536,
          "height": 1024,
          "values": {
            "size": "1536*1024"
          }
        },
        {
          "aspect": "2:3",
          "width": 1024,
          "height": 1536,
          "values": {
            "size": "1024*1536"
          }
        }
      ],
      "without_references": {
        "fields": [
          "size",
          "seed"
        ]
      },
      "with_references": {
        "fields": [
          "seed"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/qwen-image-max/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "seed": "{{fields.seed}}"
          }
        },
        "pricing": {
          "per_image": 0.07,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "sizes": []
      }
    },
    {
      "id": "qwen-image-2512",
      "label": "Qwen Image 2512",
      "group": "Qwen",
      "description": "Qwen Image 2512 text to image, with Qwen Image Edit 2511 for up to 3 images.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 3,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/qwen-image/text-to-image-2512",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "seed": "{{fields.seed}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.02,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ],
      "without_references": {
        "fields": [
          "size",
          "seed",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "seed",
          "output_format"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/qwen-image/edit-2511",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "seed": "{{fields.seed}}",
            "output_format": "{{fields.output_format}}"
          }
        },
        "pricing": {
          "per_image": 0.02,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "sizes": []
      }
    },
    {
      "id": "qwen-image",
      "label": "Qwen Image",
      "group": "Qwen",
      "description": "The original Qwen Image, with Qwen Image Edit Plus for up to 3 images.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 3,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/qwen-image/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "seed": "{{fields.seed}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.02,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ],
      "without_references": {
        "fields": [
          "size",
          "seed",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "seed",
          "output_format"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/qwen-image/edit-plus",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "seed": "{{fields.seed}}",
            "output_format": "{{fields.output_format}}"
          }
        },
        "pricing": {
          "per_image": 0.02,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "sizes": []
      }
    },
    {
      "id": "qwen-multiple-angles",
      "label": "Qwen Multiple Angles",
      "group": "Qwen",
      "description": "Moves the camera around your subject: turn, tilt and distance, with an optional prompt.",
      "prompt": {
        "mode": "optional"
      },
      "fields": [
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "horizontal_angle",
          "label": "Turn",
          "type": "int_slider",
          "min": 0,
          "max": 359,
          "default": 0,
          "help": "Degrees the camera moves around the subject."
        },
        {
          "key": "vertical_angle",
          "label": "Tilt",
          "type": "int_slider",
          "min": -30,
          "max": 60,
          "default": 0,
          "help": "Degrees the camera moves up or down: negative looks up from below."
        },
        {
          "key": "distance",
          "label": "Distance",
          "type": "int_slider",
          "min": 0,
          "max": 2,
          "default": 1,
          "help": "0 is a close-up, 1 a medium shot, 2 a wide shot."
        },
        {
          "type": "seed",
          "max": 2147483647
        },
        {
          "key": "horizontal_angle_2",
          "label": "Turn",
          "type": "int_slider",
          "min": -90,
          "max": 90,
          "default": 0,
          "help": "Degrees the camera moves around the subject."
        }
      ],
      "references": {
        "mode": "required",
        "max": 3,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/qwen-image/edit-multiple-angles",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "images": "{{images}}",
          "horizontal_angle": "{{fields.horizontal_angle}}",
          "vertical_angle": "{{fields.vertical_angle}}",
          "distance": "{{fields.distance}}",
          "seed": "{{fields.seed}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.025,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "variants": {
        "label": "Version",
        "default": "standard",
        "options": [
          {
            "id": "standard",
            "label": "Full Turn",
            "description": "Any angle all the way around.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/qwen-image/edit-multiple-angles",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "images": "{{images}}",
                "horizontal_angle": "{{fields.horizontal_angle}}",
                "vertical_angle": "{{fields.vertical_angle}}",
                "distance": "{{fields.distance}}",
                "seed": "{{fields.seed}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "per_image": 0.025,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "horizontal_angle",
              "vertical_angle",
              "distance",
              "seed",
              "output_format"
            ]
          },
          {
            "id": "2509",
            "label": "Front Half",
            "description": "The 2509 model, up to 90 degrees either way.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/qwen-image/edit-2509-multiple-angles",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "images": "{{images}}",
                "horizontal_angle": "{{fields.horizontal_angle_2}}",
                "vertical_angle": "{{fields.vertical_angle}}",
                "distance": "{{fields.distance}}",
                "seed": "{{fields.seed}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "per_image": 0.025,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "horizontal_angle_2",
              "vertical_angle",
              "distance",
              "seed",
              "output_format"
            ]
          }
        ]
      }
    },
    {
      "id": "qwen-image-layered",
      "label": "Qwen Image Layered",
      "group": "Qwen",
      "description": "Splits your image into 2 to 8 transparent layers. Wando saves each layer and a layered composite.",
      "prompt": {
        "mode": "optional"
      },
      "fields": [
        {
          "key": "num_layers",
          "label": "Layers",
          "type": "combo",
          "default": 4,
          "options": [
            {
              "label": "2",
              "value": 2
            },
            {
              "label": "3",
              "value": 3
            },
            {
              "label": "4",
              "value": 4
            },
            {
              "label": "5",
              "value": 5
            },
            {
              "label": "6",
              "value": 6
            },
            {
              "label": "7",
              "value": 7
            },
            {
              "label": "8",
              "value": 8
            }
          ]
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/qwen-image/layered",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "num_layers": "{{fields.num_layers}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 1200
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url",
        "kind": "layers",
        "layer_order": "bottom_first"
      },
      "pricing": {
        "count_field": "num_layers",
        "per_image": 0.025,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "wan-2-7",
      "label": "Wan 2.7",
      "group": "Wan",
      "description": "Alibaba Wan 2.7: generation and editing of up to 9 images, with a thinking mode. Pro reaches 4K.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1365 x 1024)",
              "value": "1365*1024"
            },
            {
              "label": "3:4 (1024 x 1365)",
              "value": "1024*1365"
            },
            {
              "label": "3:2 (1536 x 1024)",
              "value": "1536*1024"
            },
            {
              "label": "2:3 (1024 x 1536)",
              "value": "1024*1536"
            },
            {
              "label": "16:9 (1820 x 1024)",
              "value": "1820*1024"
            },
            {
              "label": "9:16 (1024 x 1820)",
              "value": "1024*1820"
            },
            {
              "label": "21:9 (2389 x 1024)",
              "value": "2389*1024"
            },
            {
              "label": "1:1 (2048 x 2048)",
              "value": "2048*2048"
            }
          ]
        },
        {
          "key": "size_2",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1365 x 1024)",
              "value": "1365*1024"
            },
            {
              "label": "3:4 (1024 x 1365)",
              "value": "1024*1365"
            },
            {
              "label": "3:2 (1536 x 1024)",
              "value": "1536*1024"
            },
            {
              "label": "2:3 (1024 x 1536)",
              "value": "1024*1536"
            },
            {
              "label": "16:9 (1820 x 1024)",
              "value": "1820*1024"
            },
            {
              "label": "9:16 (1024 x 1820)",
              "value": "1024*1820"
            },
            {
              "label": "21:9 (2389 x 1024)",
              "value": "2389*1024"
            },
            {
              "label": "1:1 (2048 x 2048)",
              "value": "2048*2048"
            },
            {
              "label": "4:3 (2730 x 2048)",
              "value": "2730*2048"
            },
            {
              "label": "3:4 (2048 x 2730)",
              "value": "2048*2730"
            },
            {
              "label": "3:2 (3072 x 2048)",
              "value": "3072*2048"
            },
            {
              "label": "2:3 (2048 x 3072)",
              "value": "2048*3072"
            },
            {
              "label": "16:9 (3640 x 2048)",
              "value": "3640*2048"
            },
            {
              "label": "9:16 (2048 x 3640)",
              "value": "2048*3640"
            },
            {
              "label": "1:1 (4096 x 4096)",
              "value": "4096*4096"
            }
          ]
        },
        {
          "key": "thinking_mode",
          "label": "Thinking",
          "type": "bool",
          "default": true,
          "help": "The model plans the image before drawing it. Better results, slower runs."
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 9,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/alibaba/wan-2.7/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "thinking_mode": "{{fields.thinking_mode}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.03,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "tier": "1K",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "tier": "1K",
          "width": 1365,
          "height": 1024,
          "values": {
            "size": "1365*1024"
          }
        },
        {
          "aspect": "3:4",
          "tier": "1K",
          "width": 1024,
          "height": 1365,
          "values": {
            "size": "1024*1365"
          }
        },
        {
          "aspect": "3:2",
          "tier": "1K",
          "width": 1536,
          "height": 1024,
          "values": {
            "size": "1536*1024"
          }
        },
        {
          "aspect": "2:3",
          "tier": "1K",
          "width": 1024,
          "height": 1536,
          "values": {
            "size": "1024*1536"
          }
        },
        {
          "aspect": "16:9",
          "tier": "1K",
          "width": 1820,
          "height": 1024,
          "values": {
            "size": "1820*1024"
          }
        },
        {
          "aspect": "9:16",
          "tier": "1K",
          "width": 1024,
          "height": 1820,
          "values": {
            "size": "1024*1820"
          }
        },
        {
          "aspect": "21:9",
          "tier": "1K",
          "width": 2389,
          "height": 1024,
          "values": {
            "size": "2389*1024"
          }
        },
        {
          "aspect": "1:1",
          "tier": "2K",
          "width": 2048,
          "height": 2048,
          "values": {
            "size": "2048*2048"
          }
        }
      ],
      "variants": {
        "label": "Version",
        "default": "standard",
        "options": [
          {
            "id": "standard",
            "label": "Standard",
            "description": "Up to 2K.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/alibaba/wan-2.7/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}",
                "thinking_mode": "{{fields.thinking_mode}}",
                "seed": "{{fields.seed}}"
              }
            },
            "pricing": {
              "per_image": 0.03,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "size",
              "thinking_mode",
              "seed"
            ],
            "sizes": [
              {
                "aspect": "1:1",
                "tier": "1K",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "tier": "1K",
                "width": 1365,
                "height": 1024,
                "values": {
                  "size": "1365*1024"
                }
              },
              {
                "aspect": "3:4",
                "tier": "1K",
                "width": 1024,
                "height": 1365,
                "values": {
                  "size": "1024*1365"
                }
              },
              {
                "aspect": "3:2",
                "tier": "1K",
                "width": 1536,
                "height": 1024,
                "values": {
                  "size": "1536*1024"
                }
              },
              {
                "aspect": "2:3",
                "tier": "1K",
                "width": 1024,
                "height": 1536,
                "values": {
                  "size": "1024*1536"
                }
              },
              {
                "aspect": "16:9",
                "tier": "1K",
                "width": 1820,
                "height": 1024,
                "values": {
                  "size": "1820*1024"
                }
              },
              {
                "aspect": "9:16",
                "tier": "1K",
                "width": 1024,
                "height": 1820,
                "values": {
                  "size": "1024*1820"
                }
              },
              {
                "aspect": "21:9",
                "tier": "1K",
                "width": 2389,
                "height": 1024,
                "values": {
                  "size": "2389*1024"
                }
              },
              {
                "aspect": "1:1",
                "tier": "2K",
                "width": 2048,
                "height": 2048,
                "values": {
                  "size": "2048*2048"
                }
              }
            ],
            "with_references": {
              "fields": [
                "size",
                "seed"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/alibaba/wan-2.7/image-edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "size": "{{fields.size}}",
                  "seed": "{{fields.seed}}"
                }
              },
              "pricing": {
                "per_image": 0.03,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "sizes": [
                {
                  "aspect": "1:1",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1024,
                  "values": {
                    "size": "1024*1024"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "1K",
                  "width": 1365,
                  "height": 1024,
                  "values": {
                    "size": "1365*1024"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1365,
                  "values": {
                    "size": "1024*1365"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "1K",
                  "width": 1536,
                  "height": 1024,
                  "values": {
                    "size": "1536*1024"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1536,
                  "values": {
                    "size": "1024*1536"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "1K",
                  "width": 1820,
                  "height": 1024,
                  "values": {
                    "size": "1820*1024"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1820,
                  "values": {
                    "size": "1024*1820"
                  }
                },
                {
                  "aspect": "21:9",
                  "tier": "1K",
                  "width": 2389,
                  "height": 1024,
                  "values": {
                    "size": "2389*1024"
                  }
                },
                {
                  "aspect": "1:1",
                  "tier": "2K",
                  "width": 2048,
                  "height": 2048,
                  "values": {
                    "size": "2048*2048"
                  }
                }
              ]
            },
            "without_references": {
              "fields": [
                "size",
                "thinking_mode",
                "seed"
              ]
            }
          },
          {
            "id": "pro",
            "label": "Pro",
            "description": "Sharper, up to 4K.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/alibaba/wan-2.7/text-to-image-pro",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size_2}}",
                "thinking_mode": "{{fields.thinking_mode}}",
                "seed": "{{fields.seed}}"
              }
            },
            "pricing": {
              "per_image": 0.075,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "size_2",
              "thinking_mode",
              "seed"
            ],
            "sizes": [
              {
                "aspect": "1:1",
                "tier": "1K",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size_2": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "tier": "1K",
                "width": 1365,
                "height": 1024,
                "values": {
                  "size_2": "1365*1024"
                }
              },
              {
                "aspect": "3:4",
                "tier": "1K",
                "width": 1024,
                "height": 1365,
                "values": {
                  "size_2": "1024*1365"
                }
              },
              {
                "aspect": "3:2",
                "tier": "1K",
                "width": 1536,
                "height": 1024,
                "values": {
                  "size_2": "1536*1024"
                }
              },
              {
                "aspect": "2:3",
                "tier": "1K",
                "width": 1024,
                "height": 1536,
                "values": {
                  "size_2": "1024*1536"
                }
              },
              {
                "aspect": "16:9",
                "tier": "1K",
                "width": 1820,
                "height": 1024,
                "values": {
                  "size_2": "1820*1024"
                }
              },
              {
                "aspect": "9:16",
                "tier": "1K",
                "width": 1024,
                "height": 1820,
                "values": {
                  "size_2": "1024*1820"
                }
              },
              {
                "aspect": "21:9",
                "tier": "1K",
                "width": 2389,
                "height": 1024,
                "values": {
                  "size_2": "2389*1024"
                }
              },
              {
                "aspect": "1:1",
                "tier": "2K",
                "width": 2048,
                "height": 2048,
                "values": {
                  "size_2": "2048*2048"
                }
              },
              {
                "aspect": "4:3",
                "tier": "2K",
                "width": 2730,
                "height": 2048,
                "values": {
                  "size_2": "2730*2048"
                }
              },
              {
                "aspect": "3:4",
                "tier": "2K",
                "width": 2048,
                "height": 2730,
                "values": {
                  "size_2": "2048*2730"
                }
              },
              {
                "aspect": "3:2",
                "tier": "2K",
                "width": 3072,
                "height": 2048,
                "values": {
                  "size_2": "3072*2048"
                }
              },
              {
                "aspect": "2:3",
                "tier": "2K",
                "width": 2048,
                "height": 3072,
                "values": {
                  "size_2": "2048*3072"
                }
              },
              {
                "aspect": "16:9",
                "tier": "2K",
                "width": 3640,
                "height": 2048,
                "values": {
                  "size_2": "3640*2048"
                }
              },
              {
                "aspect": "9:16",
                "tier": "2K",
                "width": 2048,
                "height": 3640,
                "values": {
                  "size_2": "2048*3640"
                }
              },
              {
                "aspect": "1:1",
                "tier": "4K",
                "width": 4096,
                "height": 4096,
                "values": {
                  "size_2": "4096*4096"
                }
              }
            ],
            "with_references": {
              "fields": [
                "size_2",
                "seed"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/alibaba/wan-2.7/image-edit-pro",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "size": "{{fields.size_2}}",
                  "seed": "{{fields.seed}}"
                }
              },
              "pricing": {
                "per_image": 0.075,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "sizes": [
                {
                  "aspect": "1:1",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1024,
                  "values": {
                    "size_2": "1024*1024"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "1K",
                  "width": 1365,
                  "height": 1024,
                  "values": {
                    "size_2": "1365*1024"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1365,
                  "values": {
                    "size_2": "1024*1365"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "1K",
                  "width": 1536,
                  "height": 1024,
                  "values": {
                    "size_2": "1536*1024"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1536,
                  "values": {
                    "size_2": "1024*1536"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "1K",
                  "width": 1820,
                  "height": 1024,
                  "values": {
                    "size_2": "1820*1024"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "1K",
                  "width": 1024,
                  "height": 1820,
                  "values": {
                    "size_2": "1024*1820"
                  }
                },
                {
                  "aspect": "21:9",
                  "tier": "1K",
                  "width": 2389,
                  "height": 1024,
                  "values": {
                    "size_2": "2389*1024"
                  }
                },
                {
                  "aspect": "1:1",
                  "tier": "2K",
                  "width": 2048,
                  "height": 2048,
                  "values": {
                    "size_2": "2048*2048"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "2K",
                  "width": 2730,
                  "height": 2048,
                  "values": {
                    "size_2": "2730*2048"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "2K",
                  "width": 2048,
                  "height": 2730,
                  "values": {
                    "size_2": "2048*2730"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "2K",
                  "width": 3072,
                  "height": 2048,
                  "values": {
                    "size_2": "3072*2048"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "2K",
                  "width": 2048,
                  "height": 3072,
                  "values": {
                    "size_2": "2048*3072"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "2K",
                  "width": 3640,
                  "height": 2048,
                  "values": {
                    "size_2": "3640*2048"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "2K",
                  "width": 2048,
                  "height": 3640,
                  "values": {
                    "size_2": "2048*3640"
                  }
                },
                {
                  "aspect": "1:1",
                  "tier": "4K",
                  "width": 4096,
                  "height": 4096,
                  "values": {
                    "size_2": "4096*4096"
                  }
                }
              ]
            },
            "without_references": {
              "fields": [
                "size_2",
                "thinking_mode",
                "seed"
              ]
            }
          }
        ]
      }
    },
    {
      "id": "wan-2-6",
      "label": "Wan 2.6",
      "group": "Wan",
      "description": "Alibaba Wan 2.6 generation, and edits of up to 3 images.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "enable_prompt_expansion",
          "label": "Rewrite Prompt",
          "type": "bool",
          "default": false,
          "help": "The model adds detail to your prompt. Turn it off to keep your exact words."
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 3,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/alibaba/wan-2.6/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "enable_prompt_expansion": "{{fields.enable_prompt_expansion}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.03,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ],
      "without_references": {
        "fields": [
          "size",
          "enable_prompt_expansion",
          "seed"
        ]
      },
      "with_references": {
        "fields": [
          "size",
          "seed",
          "enable_prompt_expansion"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/alibaba/wan-2.6/image-edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "size": "{{fields.size}}",
            "seed": "{{fields.seed}}",
            "enable_prompt_expansion": "{{fields.enable_prompt_expansion}}"
          }
        },
        "pricing": {
          "per_image": 0.035,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "sizes": [
          {
            "aspect": "1:1",
            "width": 1024,
            "height": 1024,
            "values": {
              "size": "1024*1024"
            }
          },
          {
            "aspect": "4:3",
            "width": 1152,
            "height": 864,
            "values": {
              "size": "1152*864"
            }
          },
          {
            "aspect": "3:4",
            "width": 864,
            "height": 1152,
            "values": {
              "size": "864*1152"
            }
          },
          {
            "aspect": "3:2",
            "width": 1248,
            "height": 832,
            "values": {
              "size": "1248*832"
            }
          },
          {
            "aspect": "2:3",
            "width": 832,
            "height": 1248,
            "values": {
              "size": "832*1248"
            }
          },
          {
            "aspect": "16:9",
            "width": 1360,
            "height": 768,
            "values": {
              "size": "1360*768"
            }
          },
          {
            "aspect": "9:16",
            "width": 768,
            "height": 1360,
            "values": {
              "size": "768*1360"
            }
          }
        ]
      }
    },
    {
      "id": "wan-2-5",
      "label": "Wan 2.5",
      "group": "Wan",
      "description": "Alibaba Wan 2.5 generation with a negative prompt, and edits of up to 2 images.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "negative_prompt",
          "label": "Negative Prompt",
          "type": "textarea"
        },
        {
          "key": "enable_prompt_expansion",
          "label": "Rewrite Prompt",
          "type": "bool",
          "default": false,
          "help": "The model adds detail to your prompt. Turn it off to keep your exact words."
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 2,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/alibaba/wan-2.5/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "negative_prompt": "{{fields.negative_prompt}}",
          "size": "{{fields.size}}",
          "enable_prompt_expansion": "{{fields.enable_prompt_expansion}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.03,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ],
      "without_references": {
        "fields": [
          "negative_prompt",
          "size",
          "enable_prompt_expansion",
          "seed"
        ]
      },
      "with_references": {
        "fields": [
          "size",
          "negative_prompt",
          "seed"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/alibaba/wan-2.5/image-edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "size": "{{fields.size}}",
            "negative_prompt": "{{fields.negative_prompt}}",
            "seed": "{{fields.seed}}"
          }
        },
        "pricing": {
          "per_image": 0.035,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "sizes": [
          {
            "aspect": "1:1",
            "width": 1024,
            "height": 1024,
            "values": {
              "size": "1024*1024"
            }
          },
          {
            "aspect": "4:3",
            "width": 1152,
            "height": 864,
            "values": {
              "size": "1152*864"
            }
          },
          {
            "aspect": "3:4",
            "width": 864,
            "height": 1152,
            "values": {
              "size": "864*1152"
            }
          },
          {
            "aspect": "3:2",
            "width": 1248,
            "height": 832,
            "values": {
              "size": "1248*832"
            }
          },
          {
            "aspect": "2:3",
            "width": 832,
            "height": 1248,
            "values": {
              "size": "832*1248"
            }
          },
          {
            "aspect": "16:9",
            "width": 1360,
            "height": 768,
            "values": {
              "size": "1360*768"
            }
          },
          {
            "aspect": "9:16",
            "width": 768,
            "height": 1360,
            "values": {
              "size": "768*1360"
            }
          }
        ]
      }
    },
    {
      "id": "wan-2-2",
      "label": "Wan 2.2",
      "group": "Wan",
      "description": "Wan 2.2 Realism for photoreal images. Add an image to rework it.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        },
        {
          "key": "strength",
          "label": "Strength",
          "type": "float_slider",
          "min": 0,
          "max": 1,
          "default": 0.6,
          "step": 0.05,
          "help": "Only with an image. 1 replaces it completely; lower keeps more of it."
        }
      ],
      "references": {
        "mode": "optional",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/wan-2.2/text-to-image-realism",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "seed": "{{fields.seed}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.025,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ],
      "without_references": {
        "fields": [
          "size",
          "seed",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "strength",
          "seed",
          "output_format"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/wan-2.2/image-to-image",
          "body": {
            "prompt": "{{prompt}}",
            "image": "{{image}}",
            "strength": "{{fields.strength}}",
            "seed": "{{fields.seed}}",
            "output_format": "{{fields.output_format}}"
          }
        },
        "pricing": {
          "per_image": 0.02,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "sizes": []
      }
    },
    {
      "id": "z-image-turbo",
      "label": "Z-Image Turbo",
      "group": "Z-Image",
      "description": "Alibaba Z-Image Turbo: fast photoreal images with good lettering. Add an image to rework it.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "strength",
          "label": "Strength",
          "type": "float_slider",
          "min": 0,
          "max": 1,
          "default": 0.6,
          "step": 0.05,
          "help": "Only with an image. 1 replaces it completely; lower keeps more of it."
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/z-image/turbo",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "size": "{{fields.size}}",
          "strength": "{{fields.strength}}",
          "seed": "{{fields.seed}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.005,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ],
      "without_references": {
        "fields": [
          "size",
          "seed",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "strength",
          "seed",
          "output_format"
        ],
        "sizes": []
      }
    },
    {
      "id": "z-image-base",
      "label": "Z-Image",
      "group": "Z-Image",
      "description": "Alibaba Z-Image, the base model, for more varied results. Add an image to rework it.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "strength",
          "label": "Strength",
          "type": "float_slider",
          "min": 0,
          "max": 1,
          "default": 0.6,
          "step": 0.05,
          "help": "Only with an image. 1 replaces it completely; lower keeps more of it."
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/z-image/base",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "size": "{{fields.size}}",
          "strength": "{{fields.strength}}",
          "seed": "{{fields.seed}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.01,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ],
      "without_references": {
        "fields": [
          "size",
          "seed",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "strength",
          "seed",
          "output_format"
        ],
        "sizes": []
      }
    },
    {
      "id": "z-image-inpaint",
      "label": "Z-Image Inpaint",
      "group": "Z-Image",
      "description": "Z-Image Turbo Inpaint: paint a mask on your image and describe what goes there.",
      "fields": [],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "mask": {
        "mode": "required",
        "paint": "white"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/z-image/turbo-inpaint",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "mask_image": "{{mask}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.02,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "z-image-controlnet",
      "label": "Z-Image ControlNet",
      "group": "Z-Image",
      "description": "Z-Image Turbo ControlNet: your image's depth, edges or pose guide a new one.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "mode",
          "label": "Control",
          "type": "combo",
          "default": "depth",
          "options": [
            {
              "label": "Depth",
              "value": "depth"
            },
            {
              "label": "Canny",
              "value": "canny"
            },
            {
              "label": "Pose",
              "value": "pose"
            },
            {
              "label": "None",
              "value": "none"
            }
          ],
          "help": "Which part of your image guides the new one: its depth, its edges or a person's pose."
        },
        {
          "key": "strength",
          "label": "Strength",
          "type": "float_slider",
          "min": 0,
          "max": 1,
          "default": 1,
          "step": 0.05,
          "help": "Only with an image. 1 replaces it completely; lower keeps more of it."
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload",
        "role": "guide"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/z-image-turbo/controlnet",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "mode": "{{fields.mode}}",
          "size": "{{fields.size}}",
          "strength": "{{fields.strength}}",
          "seed": "{{fields.seed}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.012,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ]
    },
    {
      "id": "ideogram-4-5",
      "label": "Ideogram V4.5",
      "group": "Ideogram",
      "description": "Ideogram V4.5: design focused 1K and 2K images with strong typography. Add an image to edit it, with an optional mask and guide images.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "2K",
              "value": "2k"
            }
          ]
        },
        {
          "key": "quality",
          "label": "Quality",
          "type": "combo",
          "default": "medium",
          "options": [
            {
              "label": "Low",
              "value": "low"
            },
            {
              "label": "Medium",
              "value": "medium"
            },
            {
              "label": "High",
              "value": "high"
            }
          ]
        },
        {
          "key": "quality_2",
          "label": "Quality",
          "type": "combo",
          "default": "medium",
          "options": [
            {
              "label": "Very Low",
              "value": "very_low"
            },
            {
              "label": "Low",
              "value": "low"
            },
            {
              "label": "Medium",
              "value": "medium"
            },
            {
              "label": "High",
              "value": "high"
            }
          ]
        },
        {
          "key": "enable_prompt_expansion",
          "label": "Rewrite Prompt",
          "type": "bool",
          "default": false,
          "help": "The model adds detail to your prompt. Turn it off to keep your exact words."
        },
        {
          "key": "edit_precision",
          "label": "Precision",
          "type": "combo",
          "default": "regular",
          "options": [
            {
              "label": "Regular",
              "value": "regular"
            },
            {
              "label": "High",
              "value": "high"
            }
          ],
          "help": "High keeps everything outside the edit exactly as it was. Regular is the default."
        }
      ],
      "references": {
        "mode": "optional",
        "max": 1,
        "send_as": "upload"
      },
      "image_inputs": [
        {
          "key": "guides",
          "label": "Guide Images",
          "mode": "optional",
          "max": 3,
          "help": "Up to 3 images that guide the edit."
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/ideogram-ai/ideogram-v4.5",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "resolution": "{{fields.resolution}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "quality": "{{fields.quality}}",
          "enable_prompt_expansion": "{{fields.enable_prompt_expansion}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "quality": {
            "low": 0.03,
            "medium": 0.06,
            "high": 0.22
          }
        },
        "per_image": 0.22,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "resolution",
          "aspect_ratio",
          "quality",
          "enable_prompt_expansion"
        ]
      },
      "with_references": {
        "fields": [
          "edit_precision",
          "quality_2"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/ideogram-ai/ideogram-v4.5/edit",
          "body": {
            "prompt": "{{prompt}}",
            "image": "{{image}}",
            "reference_images": "{{inputs.guides}}",
            "mask_url": "{{mask}}",
            "edit_precision": "{{fields.edit_precision}}",
            "quality": "{{fields.quality_2}}"
          }
        },
        "pricing": {
          "by_field": {
            "quality_2": {
              "very_low": 0.008,
              "low": 0.03,
              "medium": 0.06,
              "high": 0.22
            }
          },
          "per_image": 0.22,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "mask": {
          "mode": "optional",
          "paint": "black"
        }
      }
    },
    {
      "id": "ideogram-4",
      "label": "Ideogram V4",
      "group": "Ideogram",
      "description": "Ideogram V4: design focused 2K images with strong typography. Add an image to remix it.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "21:9",
              "value": "21:9"
            },
            {
              "label": "9:21",
              "value": "9:21"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "2K",
              "value": "2k"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "quality",
          "label": "Quality",
          "type": "combo",
          "default": "medium",
          "options": [
            {
              "label": "Low",
              "value": "low"
            },
            {
              "label": "Medium",
              "value": "medium"
            },
            {
              "label": "High",
              "value": "high"
            }
          ]
        },
        {
          "key": "strength",
          "label": "Strength",
          "type": "float_slider",
          "min": 0,
          "max": 1,
          "default": 0.8,
          "step": 0.05,
          "help": "Only with an image. 1 replaces it completely; lower keeps more of it."
        }
      ],
      "references": {
        "mode": "optional",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/ideogram-ai/ideogram-v4",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "strength": "{{fields.strength}}",
          "resolution": "{{fields.resolution}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "quality": "{{fields.quality}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "quality": {
            "low": {
              "resolution": {
                "1k": 0.025,
                "2k": 0.05
              }
            },
            "medium": {
              "resolution": {
                "1k": 0.05,
                "2k": 0.1
              }
            },
            "high": {
              "resolution": {
                "1k": 0.1,
                "2k": 0.2
              }
            }
          }
        },
        "per_image": 0.2,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "resolution",
          "aspect_ratio",
          "quality",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "strength",
          "resolution",
          "aspect_ratio",
          "quality",
          "output_format"
        ]
      }
    },
    {
      "id": "ideogram-3",
      "label": "Ideogram V3",
      "group": "Ideogram",
      "description": "Ideogram V3, good at text in images. Add an image to edit it, with an optional mask, and style references.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            }
          ]
        },
        {
          "key": "style",
          "label": "Style",
          "type": "combo",
          "default": "Auto",
          "options": [
            {
              "label": "Auto",
              "value": "Auto"
            },
            {
              "label": "General",
              "value": "General"
            },
            {
              "label": "Realistic",
              "value": "Realistic"
            },
            {
              "label": "Design",
              "value": "Design"
            }
          ]
        }
      ],
      "references": {
        "mode": "optional",
        "max": 1,
        "send_as": "upload"
      },
      "mask": {
        "mode": "optional",
        "paint": "white"
      },
      "image_inputs": [
        {
          "key": "style",
          "label": "Style References",
          "mode": "optional",
          "max": 3,
          "help": "Up to 3 images whose style the result follows."
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/ideogram-ai/ideogram-v3-balanced",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "reference_images": "{{inputs.style}}",
          "mask_image": "{{mask}}",
          "style": "{{fields.style}}",
          "aspect_ratio": "{{fields.aspect_ratio}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.06,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "variants": {
        "label": "Version",
        "default": "balanced",
        "options": [
          {
            "id": "balanced",
            "label": "Balanced",
            "description": "Balanced speed and quality.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/ideogram-ai/ideogram-v3-balanced",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "image": "{{image}}",
                "reference_images": "{{inputs.style}}",
                "mask_image": "{{mask}}",
                "style": "{{fields.style}}",
                "aspect_ratio": "{{fields.aspect_ratio}}"
              }
            },
            "pricing": {
              "per_image": 0.06,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "style",
              "aspect_ratio"
            ],
            "mask": {
              "mode": "optional",
              "paint": "white"
            }
          },
          {
            "id": "turbo",
            "label": "Turbo",
            "description": "The fastest and cheapest.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/ideogram-ai/ideogram-v3-turbo",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "image": "{{image}}",
                "reference_images": "{{inputs.style}}",
                "mask_image": "{{mask}}",
                "style": "{{fields.style}}",
                "aspect_ratio": "{{fields.aspect_ratio}}"
              }
            },
            "pricing": {
              "per_image": 0.03,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "style",
              "aspect_ratio"
            ],
            "mask": {
              "mode": "optional",
              "paint": "white"
            }
          },
          {
            "id": "quality",
            "label": "Quality",
            "description": "The best results.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/ideogram-ai/ideogram-v3-quality",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "image": "{{image}}",
                "reference_images": "{{inputs.style}}",
                "mask_image": "{{mask}}",
                "style": "{{fields.style}}",
                "aspect_ratio": "{{fields.aspect_ratio}}"
              }
            },
            "pricing": {
              "per_image": 0.09,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "style",
              "aspect_ratio"
            ],
            "mask": {
              "mode": "optional",
              "paint": "white"
            }
          }
        ]
      }
    },
    {
      "id": "ideogram-3-transparent",
      "label": "Ideogram V3 Transparent",
      "group": "Ideogram",
      "description": "Ideogram V3 images on a transparent background, such as stickers and logos.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "2:3",
              "value": "2:3"
            }
          ]
        },
        {
          "key": "rendering_speed",
          "label": "Rendering Speed",
          "type": "combo",
          "default": "balanced",
          "options": [
            {
              "label": "Flash",
              "value": "flash"
            },
            {
              "label": "Turbo",
              "value": "turbo"
            },
            {
              "label": "Balanced",
              "value": "balanced"
            },
            {
              "label": "Quality",
              "value": "quality"
            }
          ],
          "help": "Faster tiers cost less; Quality is the slowest and costs the most."
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/ideogram-ai/ideogram-v3/generate-transparent",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "rendering_speed": "{{fields.rendering_speed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "rendering_speed": {
            "flash": 0.03,
            "turbo": 0.03,
            "balanced": 0.06,
            "quality": 0.09
          }
        },
        "per_image": 0.09,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "ideogram-character",
      "label": "Ideogram Character",
      "group": "Ideogram",
      "description": "Ideogram Character: puts the person in your image into new scenes from your prompt.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            }
          ]
        },
        {
          "key": "style",
          "label": "Style",
          "type": "combo",
          "default": "Auto",
          "options": [
            {
              "label": "Auto",
              "value": "Auto"
            },
            {
              "label": "Fiction",
              "value": "Fiction"
            },
            {
              "label": "Realistic",
              "value": "Realistic"
            }
          ]
        },
        {
          "key": "rendering_speed",
          "label": "Rendering Speed",
          "type": "combo",
          "default": "Default",
          "options": [
            {
              "label": "Default",
              "value": "Default"
            },
            {
              "label": "Turbo",
              "value": "Turbo"
            },
            {
              "label": "Quality",
              "value": "Quality"
            }
          ],
          "help": "Faster tiers cost less; Quality is the slowest and costs the most."
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload",
        "role": "guide"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/ideogram-ai/ideogram-character",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "style": "{{fields.style}}",
          "rendering_speed": "{{fields.rendering_speed}}",
          "aspect_ratio": "{{fields.aspect_ratio}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "rendering_speed": {
            "Default": 0.15,
            "Turbo": 0.1,
            "Quality": 0.2
          }
        },
        "per_image": 0.2,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "recraft-v4-1",
      "label": "Recraft V4.1",
      "group": "Recraft",
      "description": "Recraft V4.1 for brand and marketing design. Pro makes 2K images; Utility and Flash are faster.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            }
          ]
        },
        {
          "key": "image_size",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            }
          ]
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4.1/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image_size": "{{fields.image_size}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "variants": {
        "label": "Version",
        "default": "standard",
        "options": [
          {
            "id": "standard",
            "label": "Standard",
            "description": "1K images.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4.1/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "image_size": "{{fields.image_size}}"
              }
            },
            "pricing": {
              "per_image": 0.04,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "image_size"
            ]
          },
          {
            "id": "pro",
            "label": "Pro",
            "description": "2K images with more detail.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4.1-pro/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "image_size": "{{fields.image_size}}"
              }
            },
            "pricing": {
              "per_image": 0.25,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "image_size"
            ]
          },
          {
            "id": "utility",
            "label": "Utility",
            "description": "A faster, lighter model for volume.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4.1/text-to-image-utility",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "image_size": "{{fields.image_size}}"
              }
            },
            "pricing": {
              "per_image": 0.04,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "image_size"
            ]
          },
          {
            "id": "pro-utility",
            "label": "Pro Utility",
            "description": "The lighter model at 2K.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4.1-pro/text-to-image-utility",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "image_size": "{{fields.image_size}}"
              }
            },
            "pricing": {
              "per_image": 0.25,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "image_size"
            ]
          },
          {
            "id": "flash",
            "label": "Flash",
            "description": "The quickest and cheapest.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4.1-flash/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "aspect_ratio": "{{fields.aspect_ratio}}"
              }
            },
            "pricing": {
              "per_image": 0.008,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "aspect_ratio"
            ]
          }
        ]
      }
    },
    {
      "id": "recraft-v4-1-vector",
      "label": "Recraft V4.1 Vector",
      "group": "Recraft",
      "description": "Recraft V4.1 SVG graphics from a prompt. Pro makes larger, more detailed ones.",
      "fields": [
        {
          "key": "image_size",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            }
          ]
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4.1/text-to-vector",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image_size": "{{fields.image_size}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.08,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "variants": {
        "label": "Version",
        "default": "standard",
        "options": [
          {
            "id": "standard",
            "label": "Standard",
            "description": "SVGs at 1K.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4.1/text-to-vector",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "image_size": "{{fields.image_size}}"
              }
            },
            "pricing": {
              "per_image": 0.08,
              "note": "WaveSpeed's list price, from its Pricing API."
            }
          },
          {
            "id": "pro",
            "label": "Pro",
            "description": "Larger, more detailed SVGs.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4.1-pro/text-to-vector",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "image_size": "{{fields.image_size}}"
              }
            },
            "pricing": {
              "per_image": 0.3,
              "note": "WaveSpeed's list price, from its Pricing API."
            }
          }
        ]
      }
    },
    {
      "id": "recraft-v4",
      "label": "Recraft V4",
      "group": "Recraft",
      "description": "Recraft V4 for brand and marketing design. Pro adds detail.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1216 x 896)",
              "value": "1216*896"
            },
            {
              "label": "3:4 (896 x 1216)",
              "value": "896*1216"
            },
            {
              "label": "3:2 (1280 x 832)",
              "value": "1280*832"
            },
            {
              "label": "2:3 (832 x 1280)",
              "value": "832*1280"
            },
            {
              "label": "4:5 (896 x 1152)",
              "value": "896*1152"
            },
            {
              "label": "5:4 (1152 x 896)",
              "value": "1152*896"
            },
            {
              "label": "16:9 (1344 x 768)",
              "value": "1344*768"
            },
            {
              "label": "9:16 (768 x 1344)",
              "value": "768*1344"
            },
            {
              "label": "2:1 (1536 x 768)",
              "value": "1536*768"
            },
            {
              "label": "1:2 (768 x 1536)",
              "value": "768*1536"
            },
            {
              "label": "8:13 (832 x 1344)",
              "value": "832*1344"
            },
            {
              "label": "10:7 (1280 x 896)",
              "value": "1280*896"
            },
            {
              "label": "7:10 (896 x 1280)",
              "value": "896*1280"
            }
          ]
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1216,
          "height": 896,
          "values": {
            "size": "1216*896"
          }
        },
        {
          "aspect": "3:4",
          "width": 896,
          "height": 1216,
          "values": {
            "size": "896*1216"
          }
        },
        {
          "aspect": "3:2",
          "width": 1280,
          "height": 832,
          "values": {
            "size": "1280*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1280,
          "values": {
            "size": "832*1280"
          }
        },
        {
          "aspect": "4:5",
          "width": 896,
          "height": 1152,
          "values": {
            "size": "896*1152"
          }
        },
        {
          "aspect": "5:4",
          "width": 1152,
          "height": 896,
          "values": {
            "size": "1152*896"
          }
        },
        {
          "aspect": "16:9",
          "width": 1344,
          "height": 768,
          "values": {
            "size": "1344*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1344,
          "values": {
            "size": "768*1344"
          }
        },
        {
          "aspect": "2:1",
          "width": 1536,
          "height": 768,
          "values": {
            "size": "1536*768"
          }
        },
        {
          "aspect": "1:2",
          "width": 768,
          "height": 1536,
          "values": {
            "size": "768*1536"
          }
        },
        {
          "aspect": "8:13",
          "width": 832,
          "height": 1344,
          "values": {
            "size": "832*1344"
          }
        },
        {
          "aspect": "10:7",
          "width": 1280,
          "height": 896,
          "values": {
            "size": "1280*896"
          }
        },
        {
          "aspect": "7:10",
          "width": 896,
          "height": 1280,
          "values": {
            "size": "896*1280"
          }
        }
      ],
      "variants": {
        "label": "Version",
        "default": "standard",
        "options": [
          {
            "id": "standard",
            "label": "Standard",
            "description": "The standard model.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}"
              }
            },
            "pricing": {
              "per_image": 0.04,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "sizes": [
              {
                "aspect": "1:1",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "width": 1216,
                "height": 896,
                "values": {
                  "size": "1216*896"
                }
              },
              {
                "aspect": "3:4",
                "width": 896,
                "height": 1216,
                "values": {
                  "size": "896*1216"
                }
              },
              {
                "aspect": "3:2",
                "width": 1280,
                "height": 832,
                "values": {
                  "size": "1280*832"
                }
              },
              {
                "aspect": "2:3",
                "width": 832,
                "height": 1280,
                "values": {
                  "size": "832*1280"
                }
              },
              {
                "aspect": "4:5",
                "width": 896,
                "height": 1152,
                "values": {
                  "size": "896*1152"
                }
              },
              {
                "aspect": "5:4",
                "width": 1152,
                "height": 896,
                "values": {
                  "size": "1152*896"
                }
              },
              {
                "aspect": "16:9",
                "width": 1344,
                "height": 768,
                "values": {
                  "size": "1344*768"
                }
              },
              {
                "aspect": "9:16",
                "width": 768,
                "height": 1344,
                "values": {
                  "size": "768*1344"
                }
              },
              {
                "aspect": "2:1",
                "width": 1536,
                "height": 768,
                "values": {
                  "size": "1536*768"
                }
              },
              {
                "aspect": "1:2",
                "width": 768,
                "height": 1536,
                "values": {
                  "size": "768*1536"
                }
              },
              {
                "aspect": "8:13",
                "width": 832,
                "height": 1344,
                "values": {
                  "size": "832*1344"
                }
              },
              {
                "aspect": "10:7",
                "width": 1280,
                "height": 896,
                "values": {
                  "size": "1280*896"
                }
              },
              {
                "aspect": "7:10",
                "width": 896,
                "height": 1280,
                "values": {
                  "size": "896*1280"
                }
              }
            ]
          },
          {
            "id": "pro",
            "label": "Pro",
            "description": "More detail.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4-pro/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}"
              }
            },
            "pricing": {
              "per_image": 0.25,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "sizes": [
              {
                "aspect": "1:1",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "width": 1216,
                "height": 896,
                "values": {
                  "size": "1216*896"
                }
              },
              {
                "aspect": "3:4",
                "width": 896,
                "height": 1216,
                "values": {
                  "size": "896*1216"
                }
              },
              {
                "aspect": "3:2",
                "width": 1280,
                "height": 832,
                "values": {
                  "size": "1280*832"
                }
              },
              {
                "aspect": "2:3",
                "width": 832,
                "height": 1280,
                "values": {
                  "size": "832*1280"
                }
              },
              {
                "aspect": "4:5",
                "width": 896,
                "height": 1152,
                "values": {
                  "size": "896*1152"
                }
              },
              {
                "aspect": "5:4",
                "width": 1152,
                "height": 896,
                "values": {
                  "size": "1152*896"
                }
              },
              {
                "aspect": "16:9",
                "width": 1344,
                "height": 768,
                "values": {
                  "size": "1344*768"
                }
              },
              {
                "aspect": "9:16",
                "width": 768,
                "height": 1344,
                "values": {
                  "size": "768*1344"
                }
              },
              {
                "aspect": "2:1",
                "width": 1536,
                "height": 768,
                "values": {
                  "size": "1536*768"
                }
              },
              {
                "aspect": "1:2",
                "width": 768,
                "height": 1536,
                "values": {
                  "size": "768*1536"
                }
              },
              {
                "aspect": "8:13",
                "width": 832,
                "height": 1344,
                "values": {
                  "size": "832*1344"
                }
              },
              {
                "aspect": "10:7",
                "width": 1280,
                "height": 896,
                "values": {
                  "size": "1280*896"
                }
              },
              {
                "aspect": "7:10",
                "width": 896,
                "height": 1280,
                "values": {
                  "size": "896*1280"
                }
              }
            ]
          }
        ]
      }
    },
    {
      "id": "recraft-v4-vector",
      "label": "Recraft V4 Vector",
      "group": "Recraft",
      "description": "Recraft V4 SVG graphics from a prompt. Pro makes more detailed ones.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1216 x 896)",
              "value": "1216*896"
            },
            {
              "label": "3:4 (896 x 1216)",
              "value": "896*1216"
            },
            {
              "label": "3:2 (1280 x 832)",
              "value": "1280*832"
            },
            {
              "label": "2:3 (832 x 1280)",
              "value": "832*1280"
            },
            {
              "label": "4:5 (896 x 1152)",
              "value": "896*1152"
            },
            {
              "label": "5:4 (1152 x 896)",
              "value": "1152*896"
            },
            {
              "label": "16:9 (1344 x 768)",
              "value": "1344*768"
            },
            {
              "label": "9:16 (768 x 1344)",
              "value": "768*1344"
            },
            {
              "label": "2:1 (1536 x 768)",
              "value": "1536*768"
            },
            {
              "label": "1:2 (768 x 1536)",
              "value": "768*1536"
            },
            {
              "label": "8:13 (832 x 1344)",
              "value": "832*1344"
            },
            {
              "label": "10:7 (1280 x 896)",
              "value": "1280*896"
            },
            {
              "label": "7:10 (896 x 1280)",
              "value": "896*1280"
            }
          ]
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4/text-to-vector",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.08,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1216,
          "height": 896,
          "values": {
            "size": "1216*896"
          }
        },
        {
          "aspect": "3:4",
          "width": 896,
          "height": 1216,
          "values": {
            "size": "896*1216"
          }
        },
        {
          "aspect": "3:2",
          "width": 1280,
          "height": 832,
          "values": {
            "size": "1280*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1280,
          "values": {
            "size": "832*1280"
          }
        },
        {
          "aspect": "4:5",
          "width": 896,
          "height": 1152,
          "values": {
            "size": "896*1152"
          }
        },
        {
          "aspect": "5:4",
          "width": 1152,
          "height": 896,
          "values": {
            "size": "1152*896"
          }
        },
        {
          "aspect": "16:9",
          "width": 1344,
          "height": 768,
          "values": {
            "size": "1344*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1344,
          "values": {
            "size": "768*1344"
          }
        },
        {
          "aspect": "2:1",
          "width": 1536,
          "height": 768,
          "values": {
            "size": "1536*768"
          }
        },
        {
          "aspect": "1:2",
          "width": 768,
          "height": 1536,
          "values": {
            "size": "768*1536"
          }
        },
        {
          "aspect": "8:13",
          "width": 832,
          "height": 1344,
          "values": {
            "size": "832*1344"
          }
        },
        {
          "aspect": "10:7",
          "width": 1280,
          "height": 896,
          "values": {
            "size": "1280*896"
          }
        },
        {
          "aspect": "7:10",
          "width": 896,
          "height": 1280,
          "values": {
            "size": "896*1280"
          }
        }
      ],
      "variants": {
        "label": "Version",
        "default": "standard",
        "options": [
          {
            "id": "standard",
            "label": "Standard",
            "description": "The standard model.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4/text-to-vector",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}"
              }
            },
            "pricing": {
              "per_image": 0.08,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "sizes": [
              {
                "aspect": "1:1",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "width": 1216,
                "height": 896,
                "values": {
                  "size": "1216*896"
                }
              },
              {
                "aspect": "3:4",
                "width": 896,
                "height": 1216,
                "values": {
                  "size": "896*1216"
                }
              },
              {
                "aspect": "3:2",
                "width": 1280,
                "height": 832,
                "values": {
                  "size": "1280*832"
                }
              },
              {
                "aspect": "2:3",
                "width": 832,
                "height": 1280,
                "values": {
                  "size": "832*1280"
                }
              },
              {
                "aspect": "4:5",
                "width": 896,
                "height": 1152,
                "values": {
                  "size": "896*1152"
                }
              },
              {
                "aspect": "5:4",
                "width": 1152,
                "height": 896,
                "values": {
                  "size": "1152*896"
                }
              },
              {
                "aspect": "16:9",
                "width": 1344,
                "height": 768,
                "values": {
                  "size": "1344*768"
                }
              },
              {
                "aspect": "9:16",
                "width": 768,
                "height": 1344,
                "values": {
                  "size": "768*1344"
                }
              },
              {
                "aspect": "2:1",
                "width": 1536,
                "height": 768,
                "values": {
                  "size": "1536*768"
                }
              },
              {
                "aspect": "1:2",
                "width": 768,
                "height": 1536,
                "values": {
                  "size": "768*1536"
                }
              },
              {
                "aspect": "8:13",
                "width": 832,
                "height": 1344,
                "values": {
                  "size": "832*1344"
                }
              },
              {
                "aspect": "10:7",
                "width": 1280,
                "height": 896,
                "values": {
                  "size": "1280*896"
                }
              },
              {
                "aspect": "7:10",
                "width": 896,
                "height": 1280,
                "values": {
                  "size": "896*1280"
                }
              }
            ]
          },
          {
            "id": "pro",
            "label": "Pro",
            "description": "More detail.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4-pro/text-to-vector",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}"
              }
            },
            "pricing": {
              "per_image": 0.3,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "sizes": [
              {
                "aspect": "1:1",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "width": 1216,
                "height": 896,
                "values": {
                  "size": "1216*896"
                }
              },
              {
                "aspect": "3:4",
                "width": 896,
                "height": 1216,
                "values": {
                  "size": "896*1216"
                }
              },
              {
                "aspect": "3:2",
                "width": 1280,
                "height": 832,
                "values": {
                  "size": "1280*832"
                }
              },
              {
                "aspect": "2:3",
                "width": 832,
                "height": 1280,
                "values": {
                  "size": "832*1280"
                }
              },
              {
                "aspect": "4:5",
                "width": 896,
                "height": 1152,
                "values": {
                  "size": "896*1152"
                }
              },
              {
                "aspect": "5:4",
                "width": 1152,
                "height": 896,
                "values": {
                  "size": "1152*896"
                }
              },
              {
                "aspect": "16:9",
                "width": 1344,
                "height": 768,
                "values": {
                  "size": "1344*768"
                }
              },
              {
                "aspect": "9:16",
                "width": 768,
                "height": 1344,
                "values": {
                  "size": "768*1344"
                }
              },
              {
                "aspect": "2:1",
                "width": 1536,
                "height": 768,
                "values": {
                  "size": "1536*768"
                }
              },
              {
                "aspect": "1:2",
                "width": 768,
                "height": 1536,
                "values": {
                  "size": "768*1536"
                }
              },
              {
                "aspect": "8:13",
                "width": 832,
                "height": 1344,
                "values": {
                  "size": "832*1344"
                }
              },
              {
                "aspect": "10:7",
                "width": 1280,
                "height": 896,
                "values": {
                  "size": "1280*896"
                }
              },
              {
                "aspect": "7:10",
                "width": 896,
                "height": 1280,
                "values": {
                  "size": "896*1280"
                }
              }
            ]
          }
        ]
      }
    },
    {
      "id": "recraft-v4-styles",
      "label": "Recraft V4 Styles",
      "group": "Recraft",
      "description": "Add up to 10 images that show a style, and new images follow it. Vector versions make SVGs.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            }
          ]
        },
        {
          "key": "style_match",
          "label": "Style Match",
          "type": "combo",
          "default": "precise",
          "options": [
            {
              "label": "Precise",
              "value": "precise"
            },
            {
              "label": "Flexible",
              "value": "flexible"
            }
          ],
          "help": "Precise follows your style images closely; Flexible borrows from them more loosely."
        }
      ],
      "references": {
        "mode": "required",
        "max": 10,
        "send_as": "upload",
        "max_mb": 9.5,
        "max_megapixels": 16,
        "max_side": 4096,
        "role": "guide"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4-style/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "images": "{{images}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "style_match": "{{fields.style_match}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.039,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "variants": {
        "label": "Version",
        "default": "standard",
        "options": [
          {
            "id": "standard",
            "label": "Standard",
            "description": "Images in the style.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4-style/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "images": "{{images}}",
                "aspect_ratio": "{{fields.aspect_ratio}}",
                "style_match": "{{fields.style_match}}"
              }
            },
            "pricing": {
              "per_image": 0.039,
              "note": "WaveSpeed's list price, from its Pricing API."
            }
          },
          {
            "id": "pro",
            "label": "Pro",
            "description": "More detailed images in the style.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4-style-pro/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "images": "{{images}}",
                "aspect_ratio": "{{fields.aspect_ratio}}",
                "style_match": "{{fields.style_match}}"
              }
            },
            "pricing": {
              "per_image": 0.11,
              "note": "WaveSpeed's list price, from its Pricing API."
            }
          },
          {
            "id": "vector",
            "label": "Vector",
            "description": "SVGs in the style.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4-style/text-to-vector",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "images": "{{images}}",
                "aspect_ratio": "{{fields.aspect_ratio}}",
                "style_match": "{{fields.style_match}}"
              }
            },
            "pricing": {
              "per_image": 0.055,
              "note": "WaveSpeed's list price, from its Pricing API."
            }
          },
          {
            "id": "pro-vector",
            "label": "Pro Vector",
            "description": "More detailed SVGs in the style.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4-style-pro/text-to-vector",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "images": "{{images}}",
                "aspect_ratio": "{{fields.aspect_ratio}}",
                "style_match": "{{fields.style_match}}"
              }
            },
            "pricing": {
              "per_image": 0.132,
              "note": "WaveSpeed's list price, from its Pricing API."
            }
          }
        ]
      }
    },
    {
      "id": "recraft-v3",
      "label": "Recraft V3",
      "group": "Recraft",
      "description": "Recraft V3 with its photo and illustration styles.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            }
          ]
        },
        {
          "key": "style",
          "label": "Style",
          "type": "combo",
          "default": "realistic_image",
          "options": [
            {
              "label": "Photo",
              "value": "realistic_image"
            },
            {
              "label": "Illustration",
              "value": "digital_illustration"
            },
            {
              "label": "Illustration: Pixel art",
              "value": "digital_illustration/pixel_art"
            },
            {
              "label": "Illustration: Hand drawn",
              "value": "digital_illustration/hand_drawn"
            },
            {
              "label": "Illustration: Grain",
              "value": "digital_illustration/grain"
            },
            {
              "label": "Illustration: Infantile sketch",
              "value": "digital_illustration/infantile_sketch"
            },
            {
              "label": "Illustration: 2D art poster",
              "value": "digital_illustration/2d_art_poster"
            },
            {
              "label": "Illustration: Handmade 3D",
              "value": "digital_illustration/handmade_3d"
            },
            {
              "label": "Illustration: Hand drawn outline",
              "value": "digital_illustration/hand_drawn_outline"
            },
            {
              "label": "Illustration: Engraving color",
              "value": "digital_illustration/engraving_color"
            },
            {
              "label": "Illustration: 2D art poster 2",
              "value": "digital_illustration/2d_art_poster_2"
            },
            {
              "label": "Photo: Black and white",
              "value": "realistic_image/b_and_w"
            },
            {
              "label": "Photo: Hard flash",
              "value": "realistic_image/hard_flash"
            },
            {
              "label": "Photo: HDR",
              "value": "realistic_image/hdr"
            },
            {
              "label": "Photo: Natural light",
              "value": "realistic_image/natural_light"
            },
            {
              "label": "Photo: Studio portrait",
              "value": "realistic_image/studio_portrait"
            },
            {
              "label": "Photo: Enterprise",
              "value": "realistic_image/enterprise"
            },
            {
              "label": "Photo: Motion blur",
              "value": "realistic_image/motion_blur"
            }
          ]
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v3",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "style": "{{fields.style}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "recraft-v3-svg",
      "label": "Recraft V3 SVG",
      "group": "Recraft",
      "description": "Recraft V3 SVG graphics in engraving, line art and linocut styles.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            }
          ]
        },
        {
          "key": "style",
          "label": "Style",
          "type": "combo",
          "default": "engraving",
          "options": [
            {
              "label": "Engraving",
              "value": "engraving"
            },
            {
              "label": "Line art",
              "value": "line_art"
            },
            {
              "label": "Line circuit",
              "value": "line_circuit"
            },
            {
              "label": "Linocut",
              "value": "linocut"
            }
          ]
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v3-svg",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "style": "{{fields.style}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.08,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "kling-image-o3",
      "label": "Kling Image O3",
      "group": "Kling",
      "description": "Kling Image O3: consistent images up to 4K. Add up to 10 images to edit them.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "16:9",
          "options": [
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "21:9",
              "value": "21:9"
            }
          ]
        },
        {
          "key": "aspect_ratio_2",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "auto",
          "options": [
            {
              "label": "Auto",
              "value": "auto"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "21:9",
              "value": "21:9"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "2K",
              "value": "2k"
            },
            {
              "label": "4K",
              "value": "4k"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "num_images",
          "label": "Images",
          "type": "int_slider",
          "min": 1,
          "max": 4,
          "default": 1
        }
      ],
      "references": {
        "mode": "optional",
        "max": 10,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/kwaivgi/kling-image-o3/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "num_images": "{{fields.num_images}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "count_field": "num_images",
        "by_field": {
          "resolution": {
            "1k": 0.028,
            "2k": 0.028,
            "4k": 0.056
          }
        },
        "per_image": 0.056,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "num_images",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "aspect_ratio_2",
          "resolution",
          "num_images",
          "output_format"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/kwaivgi/kling-image-o3/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "aspect_ratio": "{{fields.aspect_ratio_2}}",
            "resolution": "{{fields.resolution}}",
            "num_images": "{{fields.num_images}}",
            "output_format": "{{fields.output_format}}"
          }
        },
        "pricing": {
          "count_field": "num_images",
          "by_field": {
            "resolution": {
              "1k": 0.028,
              "2k": 0.028,
              "4k": 0.056
            }
          },
          "per_image": 0.056,
          "note": "WaveSpeed's list price, from its Pricing API."
        }
      }
    },
    {
      "id": "kling-image-3",
      "label": "Kling Image 3.0",
      "group": "Kling",
      "description": "Kling Image 3.0: realistic 1K and 2K images. Add an image to edit it.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "16:9",
          "options": [
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "21:9",
              "value": "21:9"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "2K",
              "value": "2k"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "num_images",
          "label": "Images",
          "type": "int_slider",
          "min": 1,
          "max": 4,
          "default": 1
        }
      ],
      "references": {
        "mode": "optional",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/kwaivgi/kling-image-v3/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "num_images": "{{fields.num_images}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "count_field": "num_images",
        "per_image": 0.028,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "num_images",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "num_images",
          "output_format"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/kwaivgi/kling-image-v3/edit",
          "body": {
            "prompt": "{{prompt}}",
            "image": "{{image}}",
            "aspect_ratio": "{{fields.aspect_ratio}}",
            "resolution": "{{fields.resolution}}",
            "num_images": "{{fields.num_images}}",
            "output_format": "{{fields.output_format}}"
          }
        },
        "pricing": {
          "count_field": "num_images",
          "per_image": 0.028,
          "note": "WaveSpeed's list price, from its Pricing API."
        }
      }
    },
    {
      "id": "kling-image-o1",
      "label": "Kling Image O1",
      "group": "Kling",
      "description": "Kling Image O1: generation, or edits of up to 10 images.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "21:9",
              "value": "21:9"
            },
            {
              "label": "Auto",
              "value": "auto"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "2K",
              "value": "2k"
            }
          ]
        },
        {
          "key": "num_images",
          "label": "Images",
          "type": "int_slider",
          "min": 1,
          "max": 4,
          "default": 1
        }
      ],
      "references": {
        "mode": "optional",
        "max": 10,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/kwaivgi/kling-image-o1",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "images": "{{images}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "num_images": "{{fields.num_images}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "count_field": "num_images",
        "per_image": 0.028,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "grok-imagine-2",
      "label": "Grok Imagine 2.0",
      "group": "Grok",
      "description": "xAI Grok Imagine 2.0 at 1K or 2K. Add an image to edit it.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "2:1",
              "value": "2:1"
            },
            {
              "label": "1:2",
              "value": "1:2"
            },
            {
              "label": "19.5:9",
              "value": "19.5:9"
            },
            {
              "label": "9:19.5",
              "value": "9:19.5"
            },
            {
              "label": "20:9",
              "value": "20:9"
            },
            {
              "label": "9:20",
              "value": "9:20"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "2k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "2K",
              "value": "2k"
            }
          ]
        },
        {
          "key": "quality",
          "label": "Quality",
          "type": "combo",
          "default": "medium",
          "options": [
            {
              "label": "Low",
              "value": "low"
            },
            {
              "label": "Medium",
              "value": "medium"
            }
          ]
        }
      ],
      "references": {
        "mode": "optional",
        "max": 3,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/x-ai/grok-imagine-image-v2.0/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "quality": "{{fields.quality}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "resolution": {
            "1k": {
              "quality": {
                "low": 0.04,
                "medium": 0.06
              }
            },
            "2k": {
              "quality": {
                "low": 0.06,
                "medium": 0.08
              }
            }
          }
        },
        "per_image": 0.08,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "quality"
        ]
      },
      "with_references": {
        "fields": [
          "resolution",
          "quality"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/x-ai/grok-imagine-image-v2.0/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "resolution": "{{fields.resolution}}",
            "quality": "{{fields.quality}}"
          }
        },
        "pricing": {
          "by_field": {
            "resolution": {
              "1k": {
                "quality": {
                  "low": 0.05,
                  "medium": 0.07
                }
              },
              "2k": {
                "quality": {
                  "low": 0.07,
                  "medium": 0.09
                }
              }
            }
          },
          "per_image": 0.09,
          "per_input_image": 0.01,
          "free_input_images": 1,
          "note": "WaveSpeed's list price, from its Pricing API."
        }
      }
    },
    {
      "id": "grok-imagine-quality",
      "label": "Grok Imagine Quality",
      "group": "Grok",
      "description": "xAI Grok Imagine's quality model. Add up to 3 images to edit them.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "2:3",
              "value": "2:3"
            }
          ]
        },
        {
          "key": "aspect_ratio_2",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "auto",
          "options": [
            {
              "label": "Auto",
              "value": "auto"
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "2:3",
              "value": "2:3"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "2K",
              "value": "2k"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "num_images",
          "label": "Images",
          "type": "int_slider",
          "min": 1,
          "max": 4,
          "default": 1
        }
      ],
      "references": {
        "mode": "optional",
        "max": 3,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/x-ai/grok-imagine-image-quality/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "num_images": "{{fields.num_images}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "count_field": "num_images",
        "by_field": {
          "resolution": {
            "1k": 0.06,
            "2k": 0.08
          }
        },
        "per_image": 0.08,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "num_images",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "aspect_ratio_2",
          "resolution",
          "num_images",
          "output_format"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/x-ai/grok-imagine-image-quality/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "aspect_ratio": "{{fields.aspect_ratio_2}}",
            "resolution": "{{fields.resolution}}",
            "num_images": "{{fields.num_images}}",
            "output_format": "{{fields.output_format}}"
          }
        },
        "pricing": {
          "count_field": "num_images",
          "by_field": {
            "resolution": {
              "1k": 0.07,
              "2k": 0.09
            }
          },
          "per_image": 0.09,
          "per_input_image": 0.01,
          "free_input_images": 1,
          "note": "WaveSpeed's list price, from its Pricing API."
        }
      }
    },
    {
      "id": "grok-imagine",
      "label": "Grok Imagine",
      "group": "Grok",
      "description": "xAI Grok Imagine. Add an image to edit it.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "2:1",
          "options": [
            {
              "label": "2:1",
              "value": "2:1"
            },
            {
              "label": "20:9",
              "value": "20:9"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "9:20",
              "value": "9:20"
            },
            {
              "label": "1:2",
              "value": "1:2"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            }
          ]
        }
      ],
      "references": {
        "mode": "optional",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/x-ai/grok-imagine-image/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.022,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "aspect_ratio",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/x-ai/grok-imagine-image/edit",
          "body": {
            "prompt": "{{prompt}}",
            "image": "{{image}}"
          }
        },
        "pricing": {
          "per_image": 0.025,
          "note": "WaveSpeed's list price, from its Pricing API."
        }
      }
    },
    {
      "id": "bria-fibo-2",
      "label": "Bria FIBO 2.0",
      "group": "Bria",
      "description": "Bria FIBO 2.0: commercial safe images at 1K or 2K, guided by an image if you like. Add up to 4 images to edit them, with an optional mask.",
      "prompt": {
        "mode": "optional"
      },
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            }
          ]
        },
        {
          "key": "aspect_ratio_2",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "",
          "options": [
            {
              "label": "Match image",
              "value": ""
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "16:10",
              "value": "16:10"
            },
            {
              "label": "10:16",
              "value": "10:16"
            },
            {
              "label": "2:1",
              "value": "2:1"
            },
            {
              "label": "1:2",
              "value": "1:2"
            },
            {
              "label": "21:9",
              "value": "21:9"
            },
            {
              "label": "9:21",
              "value": "9:21"
            },
            {
              "label": "3:1",
              "value": "3:1"
            },
            {
              "label": "1:3",
              "value": "1:3"
            },
            {
              "label": "4:1",
              "value": "4:1"
            },
            {
              "label": "1:4",
              "value": "1:4"
            },
            {
              "label": "5:1",
              "value": "5:1"
            },
            {
              "label": "1:5",
              "value": "1:5"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "2K",
              "value": "2k"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "JPEG",
              "value": "jpeg"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 4,
        "send_as": "upload"
      },
      "image_inputs": [
        {
          "key": "guide",
          "label": "Guide Image",
          "mode": "optional",
          "max": 1,
          "help": "An image the new one takes after, when there are no images to edit."
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bria/fibo-2.0/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "images": "{{inputs.guide}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "output_format": "{{fields.output_format}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "output_format",
          "seed"
        ]
      },
      "with_references": {
        "fields": [
          "aspect_ratio_2",
          "output_format",
          "seed"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/bria/fibo-2.0/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "mask_image": "{{mask}}",
            "aspect_ratio": "{{fields.aspect_ratio_2}}",
            "output_format": "{{fields.output_format}}",
            "seed": "{{fields.seed}}"
          }
        },
        "pricing": {
          "per_image": 0.04,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "mask": {
          "mode": "optional",
          "paint": "white"
        }
      }
    },
    {
      "id": "bria-fibo",
      "label": "Bria FIBO",
      "group": "Bria",
      "description": "Bria FIBO: commercial safe images that follow long, detailed prompts. Add an image to edit it, with an optional mask.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            }
          ]
        },
        {
          "key": "negative_prompt",
          "label": "Negative Prompt",
          "type": "textarea"
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bria/fibo",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "negative_prompt": "{{fields.negative_prompt}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "aspect_ratio",
          "negative_prompt",
          "seed"
        ]
      },
      "with_references": {
        "fields": [
          "negative_prompt",
          "seed"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/bria/fibo/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "mask_image": "{{mask}}",
            "negative_prompt": "{{fields.negative_prompt}}",
            "seed": "{{fields.seed}}"
          }
        },
        "pricing": {
          "per_image": 0.04,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "mask": {
          "mode": "optional",
          "paint": "white"
        }
      }
    },
    {
      "id": "bria-fibo-1-5",
      "label": "Bria FIBO 1.5",
      "group": "Bria",
      "description": "Bria FIBO 1.5 generation, guided by an image if you like, and edits of up to 4 images with an optional mask.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1mp",
          "options": [
            {
              "label": "1mp",
              "value": "1mp"
            },
            {
              "label": "4mp",
              "value": "4mp"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 4,
        "send_as": "upload"
      },
      "image_inputs": [
        {
          "key": "guide",
          "label": "Guide Image",
          "mode": "optional",
          "max": 1,
          "help": "An image the new one takes after, when there are no images to edit."
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bria/fibo-generate-1.5/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "images": "{{inputs.guide}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "seed"
        ]
      },
      "with_references": {
        "fields": [
          "aspect_ratio",
          "seed"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/bria/fibo-edit-1.5/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "mask_image": "{{mask}}",
            "aspect_ratio": "{{fields.aspect_ratio}}",
            "seed": "{{fields.seed}}"
          }
        },
        "pricing": {
          "per_image": 0.04,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "mask": {
          "mode": "optional",
          "paint": "white"
        }
      }
    },
    {
      "id": "bria-3-2",
      "label": "Bria 3.2",
      "group": "Bria",
      "description": "Bria 3.2: commercial safe text to image.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            }
          ]
        },
        {
          "key": "negative_prompt",
          "label": "Negative Prompt",
          "type": "textarea"
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bria/text-to-image-3.2",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "negative_prompt": "{{fields.negative_prompt}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "bria-genfill",
      "label": "Bria GenFill",
      "group": "Bria",
      "description": "Paint a mask on your image and describe what Bria fills it with.",
      "fields": [],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "mask": {
        "mode": "required",
        "paint": "white"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bria/fibo-edit/genfill",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "mask_image": "{{mask}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "bria-expand",
      "label": "Bria Expand",
      "group": "Bria",
      "description": "Extends your image to a new aspect ratio, filling the new area.",
      "prompt": {
        "mode": "optional"
      },
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            }
          ]
        },
        {
          "key": "negative_prompt",
          "label": "Negative Prompt",
          "type": "textarea"
        },
        {
          "key": "preserve_alpha",
          "label": "Keep Transparency",
          "type": "bool",
          "default": true
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bria/expand",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "negative_prompt": "{{fields.negative_prompt}}",
          "preserve_alpha": "{{fields.preserve_alpha}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "bria-generate-background",
      "label": "Bria Background",
      "group": "Bria",
      "description": "Keeps your subject and makes a new background from your prompt.",
      "fields": [],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bria/generate-background",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "bria-image-blend",
      "label": "Bria Image Blend",
      "group": "Bria",
      "description": "Blends your image with what your prompt describes.",
      "fields": [],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bria/fibo/image-blend",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "bria-product-holding",
      "label": "Bria Product Holding",
      "group": "Bria",
      "description": "Puts the products in your images into the hands of the person in your photo.",
      "prompt": {
        "mode": "optional"
      },
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "",
          "options": [
            {
              "label": "Match photo",
              "value": ""
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "JPEG",
              "value": "jpeg"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "image_inputs": [
        {
          "key": "products",
          "label": "Products",
          "mode": "required",
          "max": 3,
          "help": "One to three photos of the product to hold."
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bria/product-holding",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "reference_images": "{{inputs.products}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "output_format": "{{fields.output_format}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "bria-virtual-try-on",
      "label": "Bria Virtual Try-On",
      "group": "Bria",
      "description": "Dresses the person in your photo in the garments or accessories in your images.",
      "prompt": {
        "mode": "optional"
      },
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "",
          "options": [
            {
              "label": "Match photo",
              "value": ""
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "JPEG",
              "value": "jpeg"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "image_inputs": [
        {
          "key": "garments",
          "label": "Garments",
          "mode": "required",
          "max": 3,
          "help": "One to three photos of clothes or accessories to put on."
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bria/virtual-try-on",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "reference_images": "{{inputs.garments}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "output_format": "{{fields.output_format}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "bria-fibo-tools",
      "label": "Bria FIBO Tools",
      "group": "Bria",
      "description": "Bria FIBO photo tools: relight, change the season, colorize, or restore an old photo.",
      "prompt": {
        "mode": "none"
      },
      "fields": [
        {
          "key": "light_type",
          "label": "Light",
          "type": "combo",
          "default": "midday",
          "options": [
            {
              "label": "Midday",
              "value": "midday"
            },
            {
              "label": "Blue hour light",
              "value": "blue hour light"
            },
            {
              "label": "Low angle sunlight",
              "value": "low-angle sunlight"
            },
            {
              "label": "Sunrise light",
              "value": "sunrise light"
            },
            {
              "label": "Spotlight on subject",
              "value": "spotlight on subject"
            },
            {
              "label": "Overcast light",
              "value": "overcast light"
            },
            {
              "label": "Soft overcast daylight lighting",
              "value": "soft overcast daylight lighting"
            },
            {
              "label": "Cloud filtered lighting",
              "value": "cloud-filtered lighting"
            },
            {
              "label": "Fog diffused lighting",
              "value": "fog-diffused lighting"
            },
            {
              "label": "Moonlight lighting",
              "value": "moonlight lighting"
            },
            {
              "label": "Starlight nighttime",
              "value": "starlight nighttime"
            },
            {
              "label": "Soft bokeh lighting",
              "value": "soft bokeh lighting"
            },
            {
              "label": "Harsh studio lighting",
              "value": "harsh studio lighting"
            }
          ]
        },
        {
          "key": "light_direction",
          "label": "Direction",
          "type": "combo",
          "default": "front",
          "options": [
            {
              "label": "Front",
              "value": "front"
            },
            {
              "label": "Side",
              "value": "side"
            },
            {
              "label": "Bottom",
              "value": "bottom"
            },
            {
              "label": "Top down",
              "value": "top-down"
            }
          ]
        },
        {
          "key": "season",
          "label": "Season",
          "type": "combo",
          "default": "spring",
          "options": [
            {
              "label": "Spring",
              "value": "spring"
            },
            {
              "label": "Summer",
              "value": "summer"
            },
            {
              "label": "Autumn",
              "value": "autumn"
            },
            {
              "label": "Winter",
              "value": "winter"
            }
          ]
        },
        {
          "key": "style",
          "label": "Style",
          "type": "combo",
          "default": "contemporary color",
          "options": [
            {
              "label": "Contemporary color",
              "value": "contemporary color"
            },
            {
              "label": "Vivid color",
              "value": "vivid color"
            },
            {
              "label": "Black and white",
              "value": "black and white colors"
            },
            {
              "label": "Sepia vintage",
              "value": "sepia vintage"
            }
          ]
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bria/fibo/relight",
        "error": "data.error",
        "body": {
          "image": "{{image}}",
          "light_type": "{{fields.light_type}}",
          "light_direction": "{{fields.light_direction}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "variants": {
        "label": "Tool",
        "default": "relight",
        "options": [
          {
            "id": "relight",
            "label": "Relight",
            "description": "New lighting for your photo.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/bria/fibo/relight",
              "error": "data.error",
              "body": {
                "image": "{{image}}",
                "light_type": "{{fields.light_type}}",
                "light_direction": "{{fields.light_direction}}"
              }
            },
            "pricing": {
              "per_image": 0.04,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "light_type",
              "light_direction"
            ]
          },
          {
            "id": "reseason",
            "label": "Reseason",
            "description": "The same scene in another season.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/bria/fibo/reseason",
              "error": "data.error",
              "body": {
                "image": "{{image}}",
                "season": "{{fields.season}}"
              }
            },
            "pricing": {
              "per_image": 0.04,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "season"
            ]
          },
          {
            "id": "colorize",
            "label": "Colorize",
            "description": "Adds color to a black and white photo, or restyles its color.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/bria/fibo/colorize",
              "error": "data.error",
              "body": {
                "image": "{{image}}",
                "style": "{{fields.style}}"
              }
            },
            "pricing": {
              "per_image": 0.04,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "style"
            ]
          },
          {
            "id": "restore",
            "label": "Restore",
            "description": "Repairs an old or damaged photo.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/bria/fibo/restore",
              "error": "data.error",
              "body": {
                "image": "{{image}}"
              }
            },
            "pricing": {
              "per_image": 0.04,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": []
          }
        ]
      }
    },
    {
      "id": "instant-character",
      "label": "Instant Character",
      "group": "Characters",
      "description": "Instant Character puts the person in your image into new scenes from your prompt.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload",
        "role": "guide"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/instant-character",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "size": "{{fields.size}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.3,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ]
    },
    {
      "id": "uso",
      "label": "USO",
      "group": "Characters",
      "description": "ByteDance USO: new images in the style or with the subject of up to 4 images.",
      "prompt": {
        "mode": "optional"
      },
      "fields": [
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "required",
        "max": 4,
        "send_as": "upload",
        "role": "guide"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bytedance/uso",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "reference_images": "{{images}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.5,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "uno",
      "label": "UNO",
      "group": "Characters",
      "description": "UNO: combines the subjects of up to 5 images in a new picture from your prompt.",
      "fields": [
        {
          "key": "image_size",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "square_hd",
          "options": [
            {
              "label": "1:1 HD",
              "value": "square_hd"
            },
            {
              "label": "1:1",
              "value": "square"
            },
            {
              "label": "3:4",
              "value": "portrait_4_3"
            },
            {
              "label": "9:16",
              "value": "portrait_16_9"
            },
            {
              "label": "4:3",
              "value": "landscape_4_3"
            },
            {
              "label": "16:9",
              "value": "landscape_16_9"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        },
        {
          "key": "num_images",
          "label": "Images",
          "type": "int_slider",
          "min": 1,
          "max": 4,
          "default": 1
        },
        {
          "key": "num_inference_steps",
          "label": "Steps",
          "type": "int_slider",
          "min": 1,
          "max": 50,
          "default": 28,
          "help": "How many passes refine the image. More is slower."
        },
        {
          "key": "guidance_scale",
          "label": "Guidance",
          "type": "float_slider",
          "min": 1,
          "max": 20,
          "default": 3.5,
          "step": 0.1,
          "help": "How closely the image follows the prompt. Higher follows it more strictly."
        }
      ],
      "references": {
        "mode": "required",
        "max": 5,
        "send_as": "upload",
        "role": "guide"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/uno",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "images": "{{images}}",
          "image_size": "{{fields.image_size}}",
          "seed": "{{fields.seed}}",
          "num_images": "{{fields.num_images}}",
          "num_inference_steps": "{{fields.num_inference_steps}}",
          "guidance_scale": "{{fields.guidance_scale}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "count_field": "num_images",
        "per_image": 0.05,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "flux-pulid",
      "label": "FLUX PuLID",
      "group": "Characters",
      "description": "FLUX PuLID keeps the face in your image while your prompt sets the scene.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "guidance_scale",
          "label": "Guidance",
          "type": "float_slider",
          "min": 0,
          "max": 20,
          "default": 3.5,
          "step": 0.1,
          "help": "How closely the image follows the prompt. Higher follows it more strictly."
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload",
        "role": "guide"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-pulid",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "size": "{{fields.size}}",
          "guidance_scale": "{{fields.guidance_scale}}",
          "seed": "{{fields.seed}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.02,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ]
    },
    {
      "id": "phota",
      "label": "Phota",
      "group": "Characters",
      "description": "Phota: personal photographs from a prompt. Add up to 10 images of a person to edit or combine them.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "auto",
          "options": [
            {
              "label": "Auto",
              "value": "auto"
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1K",
          "options": [
            {
              "label": "1K",
              "value": "1K"
            },
            {
              "label": "4K",
              "value": "4K"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "num_images",
          "label": "Images",
          "type": "int_slider",
          "min": 1,
          "max": 4,
          "default": 1
        }
      ],
      "references": {
        "mode": "optional",
        "max": 10,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/phota/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "resolution": "{{fields.resolution}}",
          "num_images": "{{fields.num_images}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "count_field": "num_images",
        "by_field": {
          "resolution": {
            "1K": 0.09,
            "4K": 0.18
          }
        },
        "per_image": 0.18,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "resolution",
          "num_images",
          "aspect_ratio",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "resolution",
          "num_images",
          "aspect_ratio",
          "output_format"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/phota/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "resolution": "{{fields.resolution}}",
            "num_images": "{{fields.num_images}}",
            "aspect_ratio": "{{fields.aspect_ratio}}",
            "output_format": "{{fields.output_format}}"
          }
        },
        "pricing": {
          "count_field": "num_images",
          "by_field": {
            "resolution": {
              "1K": 0.09,
              "4K": 0.18
            }
          },
          "per_image": 0.18,
          "note": "WaveSpeed's list price, from its Pricing API."
        }
      }
    },
    {
      "id": "luma-photon",
      "label": "Luma Photon",
      "group": "More",
      "description": "Luma Photon text to image. Add an image to modify it. Flash is faster and cheaper.",
      "fields": [],
      "references": {
        "mode": "optional",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/luma/photon",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.015,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "variants": {
        "label": "Version",
        "default": "standard",
        "options": [
          {
            "id": "standard",
            "label": "Standard",
            "description": "The full model.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/luma/photon",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}"
              }
            },
            "pricing": {
              "per_image": 0.015,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "with_references": {
              "fields": [],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/luma/photon-modify",
                "body": {
                  "prompt": "{{prompt}}",
                  "image": "{{image}}"
                }
              },
              "pricing": {
                "per_image": 0.015,
                "note": "WaveSpeed's list price, from its Pricing API."
              }
            },
            "without_references": {
              "fields": []
            }
          },
          {
            "id": "flash",
            "label": "Flash",
            "description": "Faster and cheaper.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/luma/photon-flash",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}"
              }
            },
            "pricing": {
              "per_image": 0.005,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "with_references": {
              "fields": [],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/luma/photon-flash-modify",
                "body": {
                  "prompt": "{{prompt}}",
                  "image": "{{image}}"
                }
              },
              "pricing": {
                "per_image": 0.01,
                "note": "WaveSpeed's list price, from its Pricing API."
              }
            },
            "without_references": {
              "fields": []
            }
          }
        ]
      }
    },
    {
      "id": "luma-uni-1",
      "label": "Luma UNI-1",
      "group": "More",
      "description": "Luma UNI-1: guide images shape a new image, or add an image to edit it.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "16:9",
          "options": [
            {
              "label": "3:1",
              "value": "3:1"
            },
            {
              "label": "2:1",
              "value": "2:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "1:2",
              "value": "1:2"
            },
            {
              "label": "1:3",
              "value": "1:3"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            }
          ]
        }
      ],
      "references": {
        "mode": "optional",
        "max": 1,
        "send_as": "upload"
      },
      "image_inputs": [
        {
          "key": "guides",
          "label": "Guide Images",
          "mode": "optional",
          "max": 8,
          "help": "Images the result takes after: a style, subject or layout."
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/luma/uni-v1/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "reference": "{{inputs.guides}}",
          "size": "{{fields.size}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.042,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "size",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "output_format"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/luma/uni-v1/edit",
          "body": {
            "prompt": "{{prompt}}",
            "image": "{{image}}",
            "reference": "{{inputs.guides}}",
            "output_format": "{{fields.output_format}}"
          }
        },
        "pricing": {
          "per_image": 0.045,
          "note": "WaveSpeed's list price, from its Pricing API."
        }
      }
    },
    {
      "id": "runway-gen-4-image",
      "label": "Runway Gen-4 Image",
      "group": "More",
      "description": "Runway Gen-4 Image at 720p or 1080p, with up to 3 reference images. Turbo is faster.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "4:3",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1080p",
          "options": [
            {
              "label": "1080p",
              "value": "1080p"
            },
            {
              "label": "720p",
              "value": "720p"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 3,
        "send_as": "upload",
        "role": "guide"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/runwayml/gen4-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "reference_images": "{{images}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "resolution": {
            "1080p": 0.09,
            "720p": 0.055
          }
        },
        "per_image": 0.09,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "variants": {
        "label": "Version",
        "default": "standard",
        "options": [
          {
            "id": "standard",
            "label": "Standard",
            "description": "The full model.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/runwayml/gen4-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "reference_images": "{{images}}",
                "aspect_ratio": "{{fields.aspect_ratio}}",
                "resolution": "{{fields.resolution}}",
                "seed": "{{fields.seed}}"
              }
            },
            "pricing": {
              "by_field": {
                "resolution": {
                  "1080p": 0.09,
                  "720p": 0.055
                }
              },
              "per_image": 0.09,
              "note": "WaveSpeed's list price, from its Pricing API."
            }
          },
          {
            "id": "turbo",
            "label": "Turbo",
            "description": "Faster and cheaper.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/runwayml/gen4-image-turbo",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "reference_images": "{{images}}",
                "aspect_ratio": "{{fields.aspect_ratio}}",
                "resolution": "{{fields.resolution}}",
                "seed": "{{fields.seed}}"
              }
            },
            "pricing": {
              "per_image": 0.035,
              "note": "WaveSpeed's list price, from its Pricing API."
            }
          }
        ]
      }
    },
    {
      "id": "mai-image-2-5",
      "label": "MAI-Image-2.5",
      "group": "More",
      "description": "Microsoft MAI-Image-2.5 generation and editing. Pro is the higher quality model.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "21:9",
              "value": "21:9"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "9:16",
              "value": "9:16"
            }
          ]
        },
        {
          "key": "size_2",
          "label": "Size",
          "type": "aspect_combo",
          "default": "auto",
          "options": [
            {
              "label": "Auto",
              "value": "auto"
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "2:3",
              "value": "2:3"
            }
          ]
        },
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "2:3",
              "value": "2:3"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        }
      ],
      "references": {
        "mode": "optional",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/microsoft/mai-image-2.5/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.05,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "variants": {
        "label": "Version",
        "default": "standard",
        "options": [
          {
            "id": "standard",
            "label": "Standard",
            "description": "The standard model.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/microsoft/mai-image-2.5/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "per_image": 0.05,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "size",
              "size_2",
              "output_format"
            ],
            "with_references": {
              "fields": [
                "size_2",
                "output_format"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/microsoft/mai-image-2.5/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "image": "{{image}}",
                  "size": "{{fields.size_2}}",
                  "output_format": "{{fields.output_format}}"
                }
              },
              "pricing": {
                "per_image": 0.058,
                "note": "WaveSpeed's list price, from its Pricing API."
              }
            },
            "without_references": {
              "fields": [
                "size",
                "output_format"
              ]
            }
          },
          {
            "id": "pro",
            "label": "Pro",
            "description": "Higher quality.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/microsoft/mai-image-2.5-pro/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "aspect_ratio": "{{fields.aspect_ratio}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "per_image": 0.18,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "aspect_ratio",
              "output_format"
            ],
            "with_references": {
              "fields": [
                "aspect_ratio",
                "output_format"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/microsoft/mai-image-2.5-pro/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "image": "{{image}}",
                  "aspect_ratio": "{{fields.aspect_ratio}}",
                  "output_format": "{{fields.output_format}}"
                }
              },
              "pricing": {
                "per_image": 0.29,
                "note": "WaveSpeed's list price, from its Pricing API."
              }
            },
            "without_references": {
              "fields": [
                "aspect_ratio",
                "output_format"
              ]
            }
          }
        ]
      }
    },
    {
      "id": "muse-image",
      "label": "Muse Image",
      "group": "More",
      "description": "Meta Muse Image generation, and edits of up to 10 images.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "21:9",
              "value": "21:9"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "9:21",
              "value": "9:21"
            }
          ]
        },
        {
          "key": "aspect_ratio_2",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "21:9",
          "options": [
            {
              "label": "21:9",
              "value": "21:9"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "9:21",
              "value": "9:21"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "WEBP",
              "value": "webp"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "JPEG",
              "value": "jpeg"
            }
          ]
        }
      ],
      "references": {
        "mode": "optional",
        "max": 10,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/meta/muse-image/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.011,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "aspect_ratio",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "aspect_ratio_2",
          "output_format"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/meta/muse-image/edit",
          "body": {
            "prompt": "{{prompt}}",
            "image_urls": "{{images}}",
            "aspect_ratio": "{{fields.aspect_ratio_2}}",
            "output_format": "{{fields.output_format}}"
          }
        },
        "pricing": {
          "per_image": 0.011,
          "note": "WaveSpeed's list price, from its Pricing API."
        }
      }
    },
    {
      "id": "minimax-image-01",
      "label": "MiniMax Image-01",
      "group": "More",
      "description": "MiniMax Image-01: low cost images. Add an image of a subject to put it in new scenes.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "num_images",
          "label": "Images",
          "type": "int_slider",
          "min": 1,
          "max": 4,
          "default": 1
        },
        {
          "type": "seed",
          "max": 2147483647
        },
        {
          "key": "prompt_optimizer",
          "label": "Rewrite Prompt",
          "type": "bool",
          "default": false,
          "help": "The model adds detail to your prompt. Off keeps your exact words."
        }
      ],
      "references": {
        "mode": "optional",
        "max": 1,
        "send_as": "upload",
        "role": "guide"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/minimax/image-01/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "num_images": "{{fields.num_images}}",
          "seed": "{{fields.seed}}",
          "prompt_optimizer": "{{fields.prompt_optimizer}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "count_field": "num_images",
        "per_image": 0.004,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ],
      "without_references": {
        "fields": [
          "size",
          "num_images",
          "seed",
          "prompt_optimizer"
        ]
      },
      "with_references": {
        "fields": [
          "size",
          "num_images",
          "seed",
          "prompt_optimizer"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/minimax/image-01/image-to-image",
          "body": {
            "prompt": "{{prompt}}",
            "image": "{{image}}",
            "size": "{{fields.size}}",
            "num_images": "{{fields.num_images}}",
            "seed": "{{fields.seed}}",
            "prompt_optimizer": "{{fields.prompt_optimizer}}"
          }
        },
        "pricing": {
          "count_field": "num_images",
          "per_image": 0.004,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "sizes": [
          {
            "aspect": "1:1",
            "width": 1024,
            "height": 1024,
            "values": {
              "size": "1024*1024"
            }
          },
          {
            "aspect": "4:3",
            "width": 1152,
            "height": 864,
            "values": {
              "size": "1152*864"
            }
          },
          {
            "aspect": "3:4",
            "width": 864,
            "height": 1152,
            "values": {
              "size": "864*1152"
            }
          },
          {
            "aspect": "3:2",
            "width": 1248,
            "height": 832,
            "values": {
              "size": "1248*832"
            }
          },
          {
            "aspect": "2:3",
            "width": 832,
            "height": 1248,
            "values": {
              "size": "832*1248"
            }
          },
          {
            "aspect": "16:9",
            "width": 1360,
            "height": 768,
            "values": {
              "size": "1360*768"
            }
          },
          {
            "aspect": "9:16",
            "width": 768,
            "height": 1360,
            "values": {
              "size": "768*1360"
            }
          }
        ]
      }
    },
    {
      "id": "minimax-h3",
      "label": "MiniMax H3",
      "group": "More",
      "description": "MiniMax H3 open weights: cinematic stills at 1K or 2K. Add up to 9 images to edit them.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "1:2",
              "value": "1:2"
            },
            {
              "label": "2:1",
              "value": "2:1"
            },
            {
              "label": "1:3",
              "value": "1:3"
            },
            {
              "label": "3:1",
              "value": "3:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:21",
              "value": "9:21"
            },
            {
              "label": "21:9",
              "value": "21:9"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "1.5K",
              "value": "1.5k"
            },
            {
              "label": "2K",
              "value": "2k"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 9,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/minimax-h3/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "output_format": "{{fields.output_format}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "resolution": {
            "1k": 0.02,
            "1.5k": 0.04,
            "2k": 0.06
          }
        },
        "per_image": 0.06,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "output_format",
          "seed"
        ]
      },
      "with_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "output_format",
          "seed"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/minimax-h3/image-edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "aspect_ratio": "{{fields.aspect_ratio}}",
            "resolution": "{{fields.resolution}}",
            "output_format": "{{fields.output_format}}",
            "seed": "{{fields.seed}}"
          }
        },
        "pricing": {
          "by_field": {
            "resolution": {
              "1k": 0.03,
              "1.5k": 0.06,
              "2k": 0.09
            }
          },
          "per_image": 0.09,
          "per_input_image": 0.005,
          "free_input_images": 1,
          "note": "WaveSpeed's list price, from its Pricing API."
        }
      }
    },
    {
      "id": "vidu-q2",
      "label": "Vidu Q2",
      "group": "More",
      "description": "Vidu Q2 images up to 4K. Up to 7 reference images guide a new one.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "21:9",
              "value": "21:9"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            }
          ]
        },
        {
          "key": "aspect_ratio_2",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "auto",
          "options": [
            {
              "label": "Auto",
              "value": "auto"
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "21:9",
              "value": "21:9"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1080p",
          "options": [
            {
              "label": "1080p",
              "value": "1080p"
            },
            {
              "label": "2K",
              "value": "2K"
            },
            {
              "label": "4K",
              "value": "4K"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 7,
        "send_as": "upload",
        "role": "guide"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/vidu/text-to-image-q2",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "resolution": {
            "1080p": 0.03,
            "2K": 0.04,
            "4K": 0.05
          }
        },
        "per_image": 0.05,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "seed"
        ]
      },
      "with_references": {
        "fields": [
          "aspect_ratio_2",
          "resolution",
          "seed"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/vidu/reference-to-image-q2",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "aspect_ratio": "{{fields.aspect_ratio_2}}",
            "resolution": "{{fields.resolution}}",
            "seed": "{{fields.seed}}"
          }
        },
        "pricing": {
          "by_field": {
            "resolution": {
              "1080p": 0.04,
              "2K": 0.06,
              "4K": 0.1
            }
          },
          "per_image": 0.1,
          "note": "WaveSpeed's list price, from its Pricing API."
        }
      }
    },
    {
      "id": "riverflow-2-pro",
      "label": "Riverflow 2.0 Pro",
      "group": "More",
      "description": "Sourceful Riverflow 2.0 Pro: precise images up to 4K with transparent backgrounds. Add up to 10 images to edit them.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "21:9",
              "value": "21:9"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "9:16",
              "value": "9:16"
            }
          ]
        },
        {
          "key": "aspect_ratio_2",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "auto",
          "options": [
            {
              "label": "Auto",
              "value": "auto"
            },
            {
              "label": "21:9",
              "value": "21:9"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "9:16",
              "value": "9:16"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "2K",
              "value": "2k"
            },
            {
              "label": "4K",
              "value": "4k"
            }
          ]
        },
        {
          "key": "transparency",
          "label": "Transparent Background",
          "type": "bool",
          "default": false,
          "help": "Makes the background transparent when the picture allows it."
        }
      ],
      "references": {
        "mode": "optional",
        "max": 10,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/sourceful/riverflow-2.0-pro/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "resolution": "{{fields.resolution}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "transparency": "{{fields.transparency}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "resolution": {
            "1k": 0.15,
            "2k": 0.15,
            "4k": 0.33
          }
        },
        "per_image": 0.33,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "resolution",
          "aspect_ratio",
          "transparency"
        ]
      },
      "with_references": {
        "fields": [
          "resolution",
          "aspect_ratio_2",
          "transparency"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/sourceful/riverflow-2.0-pro/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "resolution": "{{fields.resolution}}",
            "aspect_ratio": "{{fields.aspect_ratio_2}}",
            "transparency": "{{fields.transparency}}"
          }
        },
        "pricing": {
          "by_field": {
            "resolution": {
              "1k": 0.15,
              "2k": 0.15,
              "4k": 0.33
            }
          },
          "per_image": 0.33,
          "note": "WaveSpeed's list price, from its Pricing API."
        }
      }
    },
    {
      "id": "p-image",
      "label": "P-Image",
      "group": "More",
      "description": "Pruna P-Image: real time generation. Add up to 5 images to edit them.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "2:3",
              "value": "2:3"
            }
          ]
        },
        {
          "key": "aspect_ratio_2",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "",
          "options": [
            {
              "label": "Match Input",
              "value": ""
            },
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "2:3",
              "value": "2:3"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 5,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/pruna-ai/p-image/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "output_format": "{{fields.output_format}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.005,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "aspect_ratio",
          "output_format",
          "seed"
        ]
      },
      "with_references": {
        "fields": [
          "aspect_ratio_2",
          "output_format",
          "seed"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/pruna-ai/p-image/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "aspect_ratio": "{{fields.aspect_ratio_2}}",
            "output_format": "{{fields.output_format}}",
            "seed": "{{fields.seed}}"
          }
        },
        "pricing": {
          "per_image": 0.01,
          "note": "WaveSpeed's list price, from its Pricing API."
        }
      }
    },
    {
      "id": "krea-3",
      "label": "Krea 3",
      "group": "More",
      "description": "Krea 3: aesthetic 1K and 2K images. Berry favors quality, Jam speed. Add up to 8 images to edit them.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1184 x 880)",
              "value": "1184*880"
            },
            {
              "label": "3:4 (880 x 1184)",
              "value": "880*1184"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "4:5 (912 x 1152)",
              "value": "912*1152"
            },
            {
              "label": "5:4 (1152 x 912)",
              "value": "1152*912"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            },
            {
              "label": "21:9 (1568 x 672)",
              "value": "1568*672"
            },
            {
              "label": "1:1 (2048 x 2048)",
              "value": "2048*2048"
            },
            {
              "label": "4:3 (2368 x 1776)",
              "value": "2368*1776"
            },
            {
              "label": "3:4 (1776 x 2368)",
              "value": "1776*2368"
            },
            {
              "label": "3:2 (2512 x 1680)",
              "value": "2512*1680"
            },
            {
              "label": "2:3 (1680 x 2512)",
              "value": "1680*2512"
            },
            {
              "label": "4:5 (1824 x 2288)",
              "value": "1824*2288"
            },
            {
              "label": "5:4 (2288 x 1824)",
              "value": "2288*1824"
            },
            {
              "label": "16:9 (2736 x 1536)",
              "value": "2736*1536"
            },
            {
              "label": "9:16 (1536 x 2736)",
              "value": "1536*2736"
            },
            {
              "label": "21:9 (3136 x 1344)",
              "value": "3136*1344"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "JPEG",
              "value": "jpeg"
            }
          ]
        },
        {
          "key": "negative_prompt",
          "label": "Negative Prompt",
          "type": "textarea"
        },
        {
          "key": "reasoning_level",
          "label": "Reasoning",
          "type": "combo",
          "default": "low",
          "options": [
            {
              "label": "Low",
              "value": "low"
            },
            {
              "label": "Medium",
              "value": "medium"
            }
          ],
          "help": "Medium reads the prompt more carefully and takes longer. Low is the default."
        },
        {
          "key": "model",
          "label": "Model",
          "type": "combo",
          "default": "berry",
          "options": [
            {
              "label": "Berry",
              "value": "berry"
            },
            {
              "label": "Jam",
              "value": "jam"
            }
          ],
          "help": "Berry, the default, favors quality; Jam favors speed."
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 8,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/krea/v3/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "negative_prompt": "{{fields.negative_prompt}}",
          "size": "{{fields.size}}",
          "reasoning_level": "{{fields.reasoning_level}}",
          "model": "{{fields.model}}",
          "output_format": "{{fields.output_format}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "size": {
            "1024*1024": 0.03,
            "1184*880": 0.03,
            "880*1184": 0.03,
            "1248*832": 0.03,
            "832*1248": 0.03,
            "912*1152": 0.03,
            "1152*912": 0.03,
            "1360*768": 0.03,
            "768*1360": 0.03,
            "1568*672": 0.03,
            "2048*2048": 0.12,
            "2368*1776": 0.12,
            "1776*2368": 0.12,
            "2512*1680": 0.121,
            "1680*2512": 0.121,
            "1824*2288": 0.119,
            "2288*1824": 0.119,
            "2736*1536": 0.12,
            "1536*2736": 0.12,
            "3136*1344": 0.121
          }
        },
        "per_image": 0.121,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "tier": "1K",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "tier": "1K",
          "width": 1184,
          "height": 880,
          "values": {
            "size": "1184*880"
          }
        },
        {
          "aspect": "3:4",
          "tier": "1K",
          "width": 880,
          "height": 1184,
          "values": {
            "size": "880*1184"
          }
        },
        {
          "aspect": "3:2",
          "tier": "1K",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "tier": "1K",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "4:5",
          "tier": "1K",
          "width": 912,
          "height": 1152,
          "values": {
            "size": "912*1152"
          }
        },
        {
          "aspect": "5:4",
          "tier": "1K",
          "width": 1152,
          "height": 912,
          "values": {
            "size": "1152*912"
          }
        },
        {
          "aspect": "16:9",
          "tier": "1K",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "tier": "1K",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        },
        {
          "aspect": "21:9",
          "tier": "1K",
          "width": 1568,
          "height": 672,
          "values": {
            "size": "1568*672"
          }
        },
        {
          "aspect": "1:1",
          "tier": "2K",
          "width": 2048,
          "height": 2048,
          "values": {
            "size": "2048*2048"
          }
        },
        {
          "aspect": "4:3",
          "tier": "2K",
          "width": 2368,
          "height": 1776,
          "values": {
            "size": "2368*1776"
          }
        },
        {
          "aspect": "3:4",
          "tier": "2K",
          "width": 1776,
          "height": 2368,
          "values": {
            "size": "1776*2368"
          }
        },
        {
          "aspect": "3:2",
          "tier": "2K",
          "width": 2512,
          "height": 1680,
          "values": {
            "size": "2512*1680"
          }
        },
        {
          "aspect": "2:3",
          "tier": "2K",
          "width": 1680,
          "height": 2512,
          "values": {
            "size": "1680*2512"
          }
        },
        {
          "aspect": "4:5",
          "tier": "2K",
          "width": 1824,
          "height": 2288,
          "values": {
            "size": "1824*2288"
          }
        },
        {
          "aspect": "5:4",
          "tier": "2K",
          "width": 2288,
          "height": 1824,
          "values": {
            "size": "2288*1824"
          }
        },
        {
          "aspect": "16:9",
          "tier": "2K",
          "width": 2736,
          "height": 1536,
          "values": {
            "size": "2736*1536"
          }
        },
        {
          "aspect": "9:16",
          "tier": "2K",
          "width": 1536,
          "height": 2736,
          "values": {
            "size": "1536*2736"
          }
        },
        {
          "aspect": "21:9",
          "tier": "2K",
          "width": 3136,
          "height": 1344,
          "values": {
            "size": "3136*1344"
          }
        }
      ],
      "without_references": {
        "fields": [
          "negative_prompt",
          "size",
          "reasoning_level",
          "model",
          "output_format",
          "seed"
        ]
      },
      "with_references": {
        "fields": [
          "negative_prompt",
          "reasoning_level",
          "model",
          "output_format",
          "seed"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/krea/v3/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "negative_prompt": "{{fields.negative_prompt}}",
            "reasoning_level": "{{fields.reasoning_level}}",
            "model": "{{fields.model}}",
            "output_format": "{{fields.output_format}}",
            "seed": "{{fields.seed}}"
          }
        },
        "pricing": {
          "per_image": 0.24,
          "per_input_image": 0.12,
          "free_input_images": 1,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "sizes": []
      }
    },
    {
      "id": "krea-2",
      "label": "Krea 2",
      "group": "More",
      "description": "Krea 2: aesthetic images, guided by up to 10 reference images. Large is the most detailed, Medium Turbo the fastest.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "2.35:1",
              "value": "2.35:1"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "9:16",
              "value": "9:16"
            }
          ]
        },
        {
          "key": "creativity",
          "label": "Creativity",
          "type": "combo",
          "default": "medium",
          "options": [
            {
              "label": "Raw",
              "value": "raw"
            },
            {
              "label": "Low",
              "value": "low"
            },
            {
              "label": "Medium",
              "value": "medium"
            },
            {
              "label": "High",
              "value": "high"
            }
          ],
          "help": "How loosely the model reads your prompt, from Raw, the most literal, to High. Medium is the default."
        }
      ],
      "references": {
        "mode": "optional",
        "max": 10,
        "send_as": "upload",
        "role": "guide"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/krea-v2-large/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "reference": "{{images}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "creativity": "{{fields.creativity}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.06,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "variants": {
        "label": "Version",
        "default": "large",
        "options": [
          {
            "id": "large",
            "label": "Large",
            "description": "The most detailed.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/krea-v2-large/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "reference": "{{images}}",
                "aspect_ratio": "{{fields.aspect_ratio}}",
                "creativity": "{{fields.creativity}}"
              }
            },
            "pricing": {
              "per_image": 0.06,
              "note": "WaveSpeed's list price, from its Pricing API."
            }
          },
          {
            "id": "medium-turbo",
            "label": "Medium Turbo",
            "description": "The fastest and cheapest.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/krea-v2-medium-turbo/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "reference": "{{images}}",
                "aspect_ratio": "{{fields.aspect_ratio}}",
                "creativity": "{{fields.creativity}}"
              }
            },
            "pricing": {
              "per_image": 0.015,
              "note": "WaveSpeed's list price, from its Pricing API."
            }
          }
        ]
      }
    },
    {
      "id": "krea-2-medium",
      "label": "Krea 2 Medium",
      "group": "More",
      "description": "Krea 2 Medium text to image.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "JPEG",
              "value": "jpeg"
            }
          ]
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/krea-v2-medium/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.03,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "krea-2-turbo",
      "label": "Krea 2 Turbo",
      "group": "More",
      "description": "Krea 2 Turbo: fast 1K and 2K images. Add an image to rework it.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "1:2",
              "value": "1:2"
            },
            {
              "label": "2:1",
              "value": "2:1"
            },
            {
              "label": "1:3",
              "value": "1:3"
            },
            {
              "label": "3:1",
              "value": "3:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:21",
              "value": "9:21"
            },
            {
              "label": "21:9",
              "value": "21:9"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "2K",
              "value": "2k"
            }
          ]
        },
        {
          "key": "strength",
          "label": "Strength",
          "type": "float_slider",
          "min": 0,
          "max": 1,
          "default": 0.8,
          "step": 0.05,
          "help": "Only with an image. 1 replaces it completely; lower keeps more of it."
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/krea-v2/turbo",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "strength": "{{fields.strength}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "resolution": {
            "1k": 0.012,
            "2k": 0.024
          }
        },
        "per_image": 0.024,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "seed"
        ]
      },
      "with_references": {
        "fields": [
          "aspect_ratio",
          "resolution",
          "strength",
          "seed"
        ]
      }
    },
    {
      "id": "cosmos-3-super",
      "label": "Cosmos 3 Super",
      "group": "More",
      "description": "NVIDIA Cosmos 3 Super text to image.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "16:9",
              "value": "16:9"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            }
          ]
        },
        {
          "key": "negative_prompt",
          "label": "Negative Prompt",
          "type": "textarea"
        },
        {
          "key": "num_inference_steps",
          "label": "Steps",
          "type": "int_slider",
          "min": 1,
          "max": 50,
          "default": 28,
          "help": "How many passes refine the image. More is slower."
        },
        {
          "key": "guidance_scale",
          "label": "Guidance",
          "type": "float_slider",
          "min": 0,
          "max": 20,
          "default": 4,
          "step": 0.1,
          "help": "How closely the image follows the prompt. Higher follows it more strictly."
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/nvidia/cosmos-3-super/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "negative_prompt": "{{fields.negative_prompt}}",
          "size": "{{fields.size}}",
          "num_inference_steps": "{{fields.num_inference_steps}}",
          "guidance_scale": "{{fields.guidance_scale}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "chrono-edit",
      "label": "Chrono Edit",
      "group": "More",
      "description": "NVIDIA Chrono Edit: physically consistent edits of your image.",
      "fields": [
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/nvidia/chrono-edit",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "seed": "{{fields.seed}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.02,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "hunyuan-image-3",
      "label": "Hunyuan Image 3",
      "group": "Open Models",
      "description": "Tencent Hunyuan Image 3.0 text to image.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/hunyuan-image-3",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.1,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ]
    },
    {
      "id": "hunyuan-image-3-instruct",
      "label": "Hunyuan 3 Instruct",
      "group": "Open Models",
      "description": "Tencent Hunyuan Image 3.0 Instruct: generation, and edits of up to 2 images.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 2,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/hunyuan-image-3-instruct/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.45,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ],
      "without_references": {
        "fields": [
          "size",
          "seed"
        ]
      },
      "with_references": {
        "fields": [
          "seed"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/hunyuan-image-3-instruct/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "seed": "{{fields.seed}}"
          }
        },
        "pricing": {
          "per_image": 0.45,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "sizes": []
      }
    },
    {
      "id": "hunyuan-image-2-1",
      "label": "Hunyuan Image 2.1",
      "group": "Open Models",
      "description": "Tencent Hunyuan Image 2.1 text to image.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/hunyuan-image-2.1",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "seed": "{{fields.seed}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.025,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ]
    },
    {
      "id": "hidream-i1",
      "label": "HiDream-I1",
      "group": "Open Models",
      "description": "HiDream-I1 text to image. Full is the higher quality, Dev the faster.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/hidream-i1-full",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "seed": "{{fields.seed}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.024,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ],
      "variants": {
        "label": "Version",
        "default": "full",
        "options": [
          {
            "id": "full",
            "label": "Full",
            "description": "The higher quality.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/hidream-i1-full",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}",
                "seed": "{{fields.seed}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "per_image": 0.024,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "size",
              "seed",
              "output_format"
            ],
            "sizes": [
              {
                "aspect": "1:1",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "width": 1152,
                "height": 864,
                "values": {
                  "size": "1152*864"
                }
              },
              {
                "aspect": "3:4",
                "width": 864,
                "height": 1152,
                "values": {
                  "size": "864*1152"
                }
              },
              {
                "aspect": "3:2",
                "width": 1248,
                "height": 832,
                "values": {
                  "size": "1248*832"
                }
              },
              {
                "aspect": "2:3",
                "width": 832,
                "height": 1248,
                "values": {
                  "size": "832*1248"
                }
              },
              {
                "aspect": "16:9",
                "width": 1360,
                "height": 768,
                "values": {
                  "size": "1360*768"
                }
              },
              {
                "aspect": "9:16",
                "width": 768,
                "height": 1360,
                "values": {
                  "size": "768*1360"
                }
              }
            ]
          },
          {
            "id": "dev",
            "label": "Dev",
            "description": "Faster.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/hidream-i1-dev",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}",
                "seed": "{{fields.seed}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "per_image": 0.012,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "size",
              "seed",
              "output_format"
            ],
            "sizes": [
              {
                "aspect": "1:1",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "width": 1152,
                "height": 864,
                "values": {
                  "size": "1152*864"
                }
              },
              {
                "aspect": "3:4",
                "width": 864,
                "height": 1152,
                "values": {
                  "size": "864*1152"
                }
              },
              {
                "aspect": "3:2",
                "width": 1248,
                "height": 832,
                "values": {
                  "size": "1248*832"
                }
              },
              {
                "aspect": "2:3",
                "width": 832,
                "height": 1248,
                "values": {
                  "size": "832*1248"
                }
              },
              {
                "aspect": "16:9",
                "width": 1360,
                "height": 768,
                "values": {
                  "size": "1360*768"
                }
              },
              {
                "aspect": "9:16",
                "width": 768,
                "height": 1360,
                "values": {
                  "size": "768*1360"
                }
              }
            ]
          }
        ]
      }
    },
    {
      "id": "hidream-o1",
      "label": "HiDream-O1",
      "group": "Open Models",
      "description": "HiDream-O1 images at 4 megapixels and up. Add up to 3 images to edit them. Dev is faster.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "2000*2000",
          "options": [
            {
              "label": "1:1 (2000 x 2000)",
              "value": "2000*2000"
            },
            {
              "label": "4:3 (2304 x 1728)",
              "value": "2304*1728"
            },
            {
              "label": "3:4 (1728 x 2304)",
              "value": "1728*2304"
            },
            {
              "label": "3:2 (2448 x 1632)",
              "value": "2448*1632"
            },
            {
              "label": "2:3 (1632 x 2448)",
              "value": "1632*2448"
            },
            {
              "label": "16:9 (2640 x 1488)",
              "value": "2640*1488"
            },
            {
              "label": "9:16 (1488 x 2640)",
              "value": "1488*2640"
            },
            {
              "label": "1:1 (4096 x 4096)",
              "value": "4096*4096"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 3,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/hidream-o1-image/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "output_format": "{{fields.output_format}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "tier": "4MP",
          "width": 2000,
          "height": 2000,
          "values": {
            "size": "2000*2000"
          }
        },
        {
          "aspect": "4:3",
          "tier": "4MP",
          "width": 2304,
          "height": 1728,
          "values": {
            "size": "2304*1728"
          }
        },
        {
          "aspect": "3:4",
          "tier": "4MP",
          "width": 1728,
          "height": 2304,
          "values": {
            "size": "1728*2304"
          }
        },
        {
          "aspect": "3:2",
          "tier": "4MP",
          "width": 2448,
          "height": 1632,
          "values": {
            "size": "2448*1632"
          }
        },
        {
          "aspect": "2:3",
          "tier": "4MP",
          "width": 1632,
          "height": 2448,
          "values": {
            "size": "1632*2448"
          }
        },
        {
          "aspect": "16:9",
          "tier": "4MP",
          "width": 2640,
          "height": 1488,
          "values": {
            "size": "2640*1488"
          }
        },
        {
          "aspect": "9:16",
          "tier": "4MP",
          "width": 1488,
          "height": 2640,
          "values": {
            "size": "1488*2640"
          }
        },
        {
          "aspect": "1:1",
          "tier": "4K",
          "width": 4096,
          "height": 4096,
          "values": {
            "size": "4096*4096"
          }
        }
      ],
      "variants": {
        "label": "Version",
        "default": "standard",
        "options": [
          {
            "id": "standard",
            "label": "Standard",
            "description": "The full model.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/hidream-o1-image/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}",
                "output_format": "{{fields.output_format}}",
                "seed": "{{fields.seed}}"
              }
            },
            "pricing": {
              "per_image": 0.04,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "sizes": [
              {
                "aspect": "1:1",
                "tier": "4MP",
                "width": 2000,
                "height": 2000,
                "values": {
                  "size": "2000*2000"
                }
              },
              {
                "aspect": "4:3",
                "tier": "4MP",
                "width": 2304,
                "height": 1728,
                "values": {
                  "size": "2304*1728"
                }
              },
              {
                "aspect": "3:4",
                "tier": "4MP",
                "width": 1728,
                "height": 2304,
                "values": {
                  "size": "1728*2304"
                }
              },
              {
                "aspect": "3:2",
                "tier": "4MP",
                "width": 2448,
                "height": 1632,
                "values": {
                  "size": "2448*1632"
                }
              },
              {
                "aspect": "2:3",
                "tier": "4MP",
                "width": 1632,
                "height": 2448,
                "values": {
                  "size": "1632*2448"
                }
              },
              {
                "aspect": "16:9",
                "tier": "4MP",
                "width": 2640,
                "height": 1488,
                "values": {
                  "size": "2640*1488"
                }
              },
              {
                "aspect": "9:16",
                "tier": "4MP",
                "width": 1488,
                "height": 2640,
                "values": {
                  "size": "1488*2640"
                }
              },
              {
                "aspect": "1:1",
                "tier": "4K",
                "width": 4096,
                "height": 4096,
                "values": {
                  "size": "4096*4096"
                }
              }
            ],
            "with_references": {
              "fields": [
                "size",
                "output_format",
                "seed"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/hidream-o1-image/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "size": "{{fields.size}}",
                  "output_format": "{{fields.output_format}}",
                  "seed": "{{fields.seed}}"
                }
              },
              "pricing": {
                "per_image": 0.04,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "sizes": [
                {
                  "aspect": "1:1",
                  "tier": "4MP",
                  "width": 2000,
                  "height": 2000,
                  "values": {
                    "size": "2000*2000"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "4MP",
                  "width": 2304,
                  "height": 1728,
                  "values": {
                    "size": "2304*1728"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "4MP",
                  "width": 1728,
                  "height": 2304,
                  "values": {
                    "size": "1728*2304"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "4MP",
                  "width": 2448,
                  "height": 1632,
                  "values": {
                    "size": "2448*1632"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "4MP",
                  "width": 1632,
                  "height": 2448,
                  "values": {
                    "size": "1632*2448"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "4MP",
                  "width": 2640,
                  "height": 1488,
                  "values": {
                    "size": "2640*1488"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "4MP",
                  "width": 1488,
                  "height": 2640,
                  "values": {
                    "size": "1488*2640"
                  }
                },
                {
                  "aspect": "1:1",
                  "tier": "4K",
                  "width": 4096,
                  "height": 4096,
                  "values": {
                    "size": "4096*4096"
                  }
                }
              ]
            },
            "without_references": {
              "fields": [
                "size",
                "output_format",
                "seed"
              ]
            }
          },
          {
            "id": "dev",
            "label": "Dev",
            "description": "Faster and cheaper.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/hidream-o1-image-dev/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}",
                "output_format": "{{fields.output_format}}",
                "seed": "{{fields.seed}}"
              }
            },
            "pricing": {
              "per_image": 0.02,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "sizes": [
              {
                "aspect": "1:1",
                "tier": "4MP",
                "width": 2000,
                "height": 2000,
                "values": {
                  "size": "2000*2000"
                }
              },
              {
                "aspect": "4:3",
                "tier": "4MP",
                "width": 2304,
                "height": 1728,
                "values": {
                  "size": "2304*1728"
                }
              },
              {
                "aspect": "3:4",
                "tier": "4MP",
                "width": 1728,
                "height": 2304,
                "values": {
                  "size": "1728*2304"
                }
              },
              {
                "aspect": "3:2",
                "tier": "4MP",
                "width": 2448,
                "height": 1632,
                "values": {
                  "size": "2448*1632"
                }
              },
              {
                "aspect": "2:3",
                "tier": "4MP",
                "width": 1632,
                "height": 2448,
                "values": {
                  "size": "1632*2448"
                }
              },
              {
                "aspect": "16:9",
                "tier": "4MP",
                "width": 2640,
                "height": 1488,
                "values": {
                  "size": "2640*1488"
                }
              },
              {
                "aspect": "9:16",
                "tier": "4MP",
                "width": 1488,
                "height": 2640,
                "values": {
                  "size": "1488*2640"
                }
              },
              {
                "aspect": "1:1",
                "tier": "4K",
                "width": 4096,
                "height": 4096,
                "values": {
                  "size": "4096*4096"
                }
              }
            ],
            "with_references": {
              "fields": [
                "size",
                "output_format",
                "seed"
              ],
              "request": {
                "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/hidream-o1-image-dev/edit",
                "body": {
                  "prompt": "{{prompt}}",
                  "images": "{{images}}",
                  "size": "{{fields.size}}",
                  "output_format": "{{fields.output_format}}",
                  "seed": "{{fields.seed}}"
                }
              },
              "pricing": {
                "per_image": 0.02,
                "note": "WaveSpeed's list price, from its Pricing API."
              },
              "sizes": [
                {
                  "aspect": "1:1",
                  "tier": "4MP",
                  "width": 2000,
                  "height": 2000,
                  "values": {
                    "size": "2000*2000"
                  }
                },
                {
                  "aspect": "4:3",
                  "tier": "4MP",
                  "width": 2304,
                  "height": 1728,
                  "values": {
                    "size": "2304*1728"
                  }
                },
                {
                  "aspect": "3:4",
                  "tier": "4MP",
                  "width": 1728,
                  "height": 2304,
                  "values": {
                    "size": "1728*2304"
                  }
                },
                {
                  "aspect": "3:2",
                  "tier": "4MP",
                  "width": 2448,
                  "height": 1632,
                  "values": {
                    "size": "2448*1632"
                  }
                },
                {
                  "aspect": "2:3",
                  "tier": "4MP",
                  "width": 1632,
                  "height": 2448,
                  "values": {
                    "size": "1632*2448"
                  }
                },
                {
                  "aspect": "16:9",
                  "tier": "4MP",
                  "width": 2640,
                  "height": 1488,
                  "values": {
                    "size": "2640*1488"
                  }
                },
                {
                  "aspect": "9:16",
                  "tier": "4MP",
                  "width": 1488,
                  "height": 2640,
                  "values": {
                    "size": "1488*2640"
                  }
                },
                {
                  "aspect": "1:1",
                  "tier": "4K",
                  "width": 4096,
                  "height": 4096,
                  "values": {
                    "size": "4096*4096"
                  }
                }
              ]
            },
            "without_references": {
              "fields": [
                "size",
                "output_format",
                "seed"
              ]
            }
          }
        ]
      }
    },
    {
      "id": "hidream-e1",
      "label": "HiDream-E1",
      "group": "Open Models",
      "description": "HiDream-E1 edits your image from an instruction.",
      "fields": [
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/hidream-e1-full",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "seed": "{{fields.seed}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.024,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "ernie-image",
      "label": "ERNIE-Image",
      "group": "Open Models",
      "description": "Baidu ERNIE-Image: good instruction following and lettering. Turbo is faster.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/ernie-image/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.09,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ],
      "variants": {
        "label": "Version",
        "default": "standard",
        "options": [
          {
            "id": "standard",
            "label": "Standard",
            "description": "The full model.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/ernie-image/text-to-image",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}"
              }
            },
            "pricing": {
              "per_image": 0.09,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "sizes": [
              {
                "aspect": "1:1",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "width": 1152,
                "height": 864,
                "values": {
                  "size": "1152*864"
                }
              },
              {
                "aspect": "3:4",
                "width": 864,
                "height": 1152,
                "values": {
                  "size": "864*1152"
                }
              },
              {
                "aspect": "3:2",
                "width": 1248,
                "height": 832,
                "values": {
                  "size": "1248*832"
                }
              },
              {
                "aspect": "2:3",
                "width": 832,
                "height": 1248,
                "values": {
                  "size": "832*1248"
                }
              },
              {
                "aspect": "16:9",
                "width": 1360,
                "height": 768,
                "values": {
                  "size": "1360*768"
                }
              },
              {
                "aspect": "9:16",
                "width": 768,
                "height": 1360,
                "values": {
                  "size": "768*1360"
                }
              }
            ]
          },
          {
            "id": "turbo",
            "label": "Turbo",
            "description": "Faster and cheaper.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/ernie-image/text-to-image-turbo",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "size": "{{fields.size}}"
              }
            },
            "pricing": {
              "per_image": 0.03,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "sizes": [
              {
                "aspect": "1:1",
                "width": 1024,
                "height": 1024,
                "values": {
                  "size": "1024*1024"
                }
              },
              {
                "aspect": "4:3",
                "width": 1152,
                "height": 864,
                "values": {
                  "size": "1152*864"
                }
              },
              {
                "aspect": "3:4",
                "width": 864,
                "height": 1152,
                "values": {
                  "size": "864*1152"
                }
              },
              {
                "aspect": "3:2",
                "width": 1248,
                "height": 832,
                "values": {
                  "size": "1248*832"
                }
              },
              {
                "aspect": "2:3",
                "width": 832,
                "height": 1248,
                "values": {
                  "size": "832*1248"
                }
              },
              {
                "aspect": "16:9",
                "width": 1360,
                "height": 768,
                "values": {
                  "size": "1360*768"
                }
              },
              {
                "aspect": "9:16",
                "width": 768,
                "height": 1360,
                "values": {
                  "size": "768*1360"
                }
              }
            ]
          }
        ]
      }
    },
    {
      "id": "glm-image",
      "label": "GLM-Image",
      "group": "Open Models",
      "description": "Z.ai GLM-Image: generation, and edits of up to 3 images.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 3,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/z-ai/glm-image/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "seed": "{{fields.seed}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.12,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ],
      "without_references": {
        "fields": [
          "size",
          "seed",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "seed",
          "output_format"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/z-ai/glm-image/edit",
          "body": {
            "prompt": "{{prompt}}",
            "images": "{{images}}",
            "seed": "{{fields.seed}}",
            "output_format": "{{fields.output_format}}"
          }
        },
        "pricing": {
          "per_image": 0.12,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "sizes": []
      }
    },
    {
      "id": "longcat-image",
      "label": "LongCat Image",
      "group": "Open Models",
      "description": "Meituan LongCat Image: generation and editing.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "references": {
        "mode": "optional",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/longcat-image/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "output_format": "{{fields.output_format}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.15,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ],
      "without_references": {
        "fields": [
          "size",
          "output_format",
          "seed"
        ]
      },
      "with_references": {
        "fields": [
          "output_format",
          "seed"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/longcat-image/edit",
          "body": {
            "prompt": "{{prompt}}",
            "image": "{{image}}",
            "output_format": "{{fields.output_format}}",
            "seed": "{{fields.seed}}"
          }
        },
        "pricing": {
          "per_image": 0.15,
          "note": "WaveSpeed's list price, from its Pricing API."
        },
        "sizes": []
      }
    },
    {
      "id": "boogu-image",
      "label": "Boogu Image",
      "group": "Open Models",
      "description": "Boogu Image: bilingual English and Chinese prompts. Add an image to edit it.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            }
          ]
        }
      ],
      "references": {
        "mode": "optional",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/boogu-image/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "aspect_ratio": {
            "1:1": 0.06,
            "16:9": 0.04,
            "9:16": 0.04,
            "4:3": 0.05,
            "3:4": 0.05
          }
        },
        "per_image": 0.06,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "without_references": {
        "fields": [
          "aspect_ratio",
          "output_format"
        ]
      },
      "with_references": {
        "fields": [
          "aspect_ratio",
          "output_format"
        ],
        "request": {
          "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/boogu-image/edit",
          "body": {
            "prompt": "{{prompt}}",
            "image": "{{image}}",
            "aspect_ratio": "{{fields.aspect_ratio}}",
            "output_format": "{{fields.output_format}}"
          }
        },
        "pricing": {
          "by_field": {
            "aspect_ratio": {
              "1:1": 0.06,
              "16:9": 0.04,
              "9:16": 0.04,
              "4:3": 0.05,
              "3:4": 0.05
            }
          },
          "per_image": 0.06,
          "note": "WaveSpeed's list price, from its Pricing API."
        }
      }
    },
    {
      "id": "bitdance-14b",
      "label": "BitDance 14B",
      "group": "Open Models",
      "description": "BitDance 14B: an autoregressive model for photoreal images up to 1024 pixels.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/bitdance-14b/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.05,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        }
      ]
    },
    {
      "id": "moss-image",
      "label": "MOSS Image",
      "group": "Open Models",
      "description": "MOSS Image: long, detailed prompts with sharp Chinese and English lettering, at 1K, 1.5K or 2K.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "1:2",
              "value": "1:2"
            },
            {
              "label": "2:1",
              "value": "2:1"
            },
            {
              "label": "1:3",
              "value": "1:3"
            },
            {
              "label": "3:1",
              "value": "3:1"
            },
            {
              "label": "2:3",
              "value": "2:3"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "4:5",
              "value": "4:5"
            },
            {
              "label": "5:4",
              "value": "5:4"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:21",
              "value": "9:21"
            },
            {
              "label": "21:9",
              "value": "21:9"
            }
          ]
        },
        {
          "key": "resolution",
          "label": "Resolution",
          "type": "combo",
          "default": "1k",
          "options": [
            {
              "label": "1K",
              "value": "1k"
            },
            {
              "label": "1.5K",
              "value": "1.5k"
            },
            {
              "label": "2K",
              "value": "2k"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/moss-image/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "resolution": "{{fields.resolution}}",
          "output_format": "{{fields.output_format}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "resolution": {
            "1k": 0.02,
            "1.5k": 0.04,
            "2k": 0.08
          }
        },
        "per_image": 0.08,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "nucleus-image",
      "label": "Nucleus Image",
      "group": "Open Models",
      "description": "Nucleus Image text to image, with a negative prompt and up to 2 images per run.",
      "fields": [
        {
          "key": "aspect_ratio",
          "label": "Aspect Ratio",
          "type": "aspect_combo",
          "default": "1:1",
          "options": [
            {
              "label": "1:1",
              "value": "1:1"
            },
            {
              "label": "16:9",
              "value": "16:9"
            },
            {
              "label": "9:16",
              "value": "9:16"
            },
            {
              "label": "4:3",
              "value": "4:3"
            },
            {
              "label": "3:4",
              "value": "3:4"
            },
            {
              "label": "3:2",
              "value": "3:2"
            },
            {
              "label": "2:3",
              "value": "2:3"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            }
          ]
        },
        {
          "key": "negative_prompt",
          "label": "Negative Prompt",
          "type": "textarea"
        },
        {
          "key": "num_images",
          "label": "Images",
          "type": "int_slider",
          "min": 1,
          "max": 2,
          "default": 1
        },
        {
          "key": "num_inference_steps",
          "label": "Steps",
          "type": "int_slider",
          "min": 1,
          "max": 100,
          "default": 50,
          "help": "How many passes refine the image. More is slower."
        },
        {
          "key": "guidance_scale",
          "label": "Guidance",
          "type": "float_slider",
          "min": 0,
          "max": 20,
          "default": 8,
          "step": 0.1,
          "help": "How closely the image follows the prompt. Higher follows it more strictly."
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/nucleus-image/text-to-image",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "negative_prompt": "{{fields.negative_prompt}}",
          "aspect_ratio": "{{fields.aspect_ratio}}",
          "num_images": "{{fields.num_images}}",
          "num_inference_steps": "{{fields.num_inference_steps}}",
          "guidance_scale": "{{fields.guidance_scale}}",
          "output_format": "{{fields.output_format}}",
          "seed": "{{fields.seed}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "count_field": "num_images",
        "per_image": 0.01,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "neta-lumina",
      "label": "Neta Lumina",
      "group": "Open Models",
      "description": "Neta Lumina: anime style illustrations and character art.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "type": "seed",
          "max": 2147483647
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/neta-lumina",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "seed": "{{fields.seed}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.01,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ]
    },
    {
      "id": "step1x-edit",
      "label": "Step1X Edit",
      "group": "Open Models",
      "description": "StepFun Step1X Edit: edits your image from an instruction.",
      "fields": [
        {
          "type": "seed",
          "max": 2147483647
        },
        {
          "key": "guidance_scale",
          "label": "Guidance",
          "type": "float_slider",
          "min": 0,
          "max": 20,
          "default": 4,
          "step": 0.1,
          "help": "How closely the image follows the prompt. Higher follows it more strictly."
        },
        {
          "key": "num_inference_steps",
          "label": "Steps",
          "type": "int_slider",
          "min": 1,
          "max": 50,
          "default": 30,
          "help": "How many passes refine the image. More is slower."
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/step1x-edit",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "seed": "{{fields.seed}}",
          "guidance_scale": "{{fields.guidance_scale}}",
          "num_inference_steps": "{{fields.num_inference_steps}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.03,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "firered-edit",
      "label": "FireRed Edit",
      "group": "Open Models",
      "description": "FireRed Image Edit: precise edits of up to 3 images from English or Chinese instructions.",
      "fields": [],
      "references": {
        "mode": "required",
        "max": 3,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/firered-image-v1.1/edit",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "images": "{{images}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.15,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "variants": {
        "label": "Version",
        "default": "v1-1",
        "options": [
          {
            "id": "v1-1",
            "label": "1.1",
            "description": "The newer model.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/firered-image-v1.1/edit",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "images": "{{images}}"
              }
            },
            "pricing": {
              "per_image": 0.15,
              "note": "WaveSpeed's list price, from its Pricing API."
            }
          },
          {
            "id": "v1",
            "label": "1.0",
            "description": "The first model.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/firered-image/edit",
              "error": "data.error",
              "body": {
                "prompt": "{{prompt}}",
                "images": "{{images}}"
              }
            },
            "pricing": {
              "per_image": 0.2,
              "note": "WaveSpeed's list price, from its Pricing API."
            }
          }
        ]
      }
    },
    {
      "id": "joyai-edit",
      "label": "JoyAI Edit",
      "group": "Open Models",
      "description": "JoyAI Image Edit: changes backgrounds, colors and objects from an instruction.",
      "fields": [],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/joyai-image/edit",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.3,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "image-upscaler",
      "label": "Image Upscaler",
      "group": "Upscale",
      "description": "WaveSpeed's image upscaler: 2K, 4K or 8K worth of pixels in your image's shape.",
      "prompt": {
        "mode": "none"
      },
      "fields": [
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "target_resolution",
          "label": "Target",
          "type": "combo",
          "default": "4k",
          "options": [
            {
              "label": "2K",
              "value": "2k"
            },
            {
              "label": "4K",
              "value": "4k"
            },
            {
              "label": "8K",
              "value": "8k"
            }
          ]
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/image-upscaler",
        "error": "data.error",
        "body": {
          "image": "{{image}}",
          "target_resolution": "{{fields.target_resolution}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 1200
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.01,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "upscale": {
        "field": "target_resolution",
        "target_pixels": {
          "2k": 4194304,
          "4k": 16777216,
          "8k": 67108864
        }
      }
    },
    {
      "id": "ultimate-upscaler",
      "label": "Ultimate Upscaler",
      "group": "Upscale",
      "description": "WaveSpeed's most detailed upscaler, which reimagines fine detail at 2K, 4K or 8K. Wando can't show the result's size before the run.",
      "prompt": {
        "mode": "none"
      },
      "fields": [
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "target_resolution",
          "label": "Target",
          "type": "combo",
          "default": "4k",
          "options": [
            {
              "label": "2K",
              "value": "2k"
            },
            {
              "label": "4K",
              "value": "4k"
            },
            {
              "label": "8K",
              "value": "8k"
            }
          ]
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/ultimate-image-upscaler",
        "error": "data.error",
        "body": {
          "image": "{{image}}",
          "target_resolution": "{{fields.target_resolution}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 1200
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.06,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "seedvr2",
      "label": "SeedVR2",
      "group": "Upscale",
      "description": "ByteDance SeedVR2: faithful restoration and upscaling to 2K, 4K or 8K. Wando can't show the result's size before the run.",
      "prompt": {
        "mode": "none"
      },
      "fields": [
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "target_resolution",
          "label": "Target",
          "type": "combo",
          "default": "4k",
          "options": [
            {
              "label": "2K",
              "value": "2k"
            },
            {
              "label": "4K",
              "value": "4k"
            },
            {
              "label": "8K",
              "value": "8k"
            }
          ]
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/seedvr2/image",
        "error": "data.error",
        "body": {
          "image": "{{image}}",
          "target_resolution": "{{fields.target_resolution}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 1200
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.01,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "vosr2",
      "label": "VOSR2",
      "group": "Upscale",
      "description": "VOSR2 rebuilds fine structure, faces and small text at about 4 or 16 megapixels. Wando can't show the result's size before the run.",
      "prompt": {
        "mode": "none"
      },
      "fields": [
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "target_resolution",
          "label": "Target",
          "type": "combo",
          "default": "4k",
          "options": [
            {
              "label": "2K",
              "value": "2k"
            },
            {
              "label": "4K",
              "value": "4k"
            }
          ]
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/vosr2/image",
        "error": "data.error",
        "body": {
          "image": "{{image}}",
          "target_resolution": "{{fields.target_resolution}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 1200
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.01,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "crystal-upscaler",
      "label": "Crystal Upscaler",
      "group": "Upscale",
      "description": "Clarity Crystal: detailed upscaling to the megapixels you choose. Wando can't show the result's size before the run.",
      "prompt": {
        "mode": "none"
      },
      "fields": [
        {
          "key": "target_megapixels",
          "label": "Target",
          "type": "combo",
          "default": 4,
          "options": [
            {
              "label": "1 MP",
              "value": 1
            },
            {
              "label": "2 MP",
              "value": 2
            },
            {
              "label": "4 MP",
              "value": 4
            },
            {
              "label": "8 MP",
              "value": 8
            },
            {
              "label": "16 MP",
              "value": 16
            },
            {
              "label": "32 MP",
              "value": 32
            },
            {
              "label": "64 MP",
              "value": 64
            },
            {
              "label": "128 MP",
              "value": 128
            },
            {
              "label": "256 MP",
              "value": 256
            }
          ]
        },
        {
          "key": "creativity",
          "label": "Creativity",
          "type": "float_slider",
          "min": 0,
          "max": 10,
          "default": 0,
          "step": 0.1,
          "help": "Higher adds more new detail. 0, the default, stays closest to your image."
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/clarity-ai/crystal-upscaler",
        "error": "data.error",
        "body": {
          "image": "{{image}}",
          "target_megapixels": "{{fields.target_megapixels}}",
          "creativity": "{{fields.creativity}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 1200
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "target_megapixels": {
            "1": 0.05,
            "2": 0.05,
            "4": 0.05,
            "8": 0.2,
            "16": 0.2,
            "32": 0.8,
            "64": 1.6,
            "128": 6.4,
            "256": 6.4
          }
        },
        "per_image": 6.4,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "clarity-upscaler",
      "label": "Clarity Upscaler",
      "group": "Upscale",
      "description": "Clarity's upscalers to the megapixels you choose. Creative adds the most detail, Pro stays faithful, FLUX uses FLUX. Wando can't show the result's size before the run.",
      "prompt": {
        "mode": "none"
      },
      "fields": [
        {
          "key": "target_megapixels",
          "label": "Target",
          "type": "combo",
          "default": 4,
          "options": [
            {
              "label": "1 MP",
              "value": 1
            },
            {
              "label": "2 MP",
              "value": 2
            },
            {
              "label": "4 MP",
              "value": 4
            },
            {
              "label": "8 MP",
              "value": 8
            },
            {
              "label": "16 MP",
              "value": 16
            },
            {
              "label": "32 MP",
              "value": 32
            },
            {
              "label": "64 MP",
              "value": 64
            }
          ]
        },
        {
          "key": "creativity",
          "label": "Creativity",
          "type": "float_slider",
          "min": -10,
          "max": 10,
          "default": 0,
          "step": 0.1,
          "help": "Higher adds more new detail; lower stays closer to your image. 0 is the default."
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/clarity-ai/creative-upscaler",
        "error": "data.error",
        "body": {
          "image": "{{image}}",
          "target_megapixels": "{{fields.target_megapixels}}",
          "creativity": "{{fields.creativity}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 1200
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "target_megapixels": {
            "1": 0.05,
            "2": 0.05,
            "4": 0.05,
            "8": 0.1,
            "16": 0.2,
            "32": 0.8,
            "64": 1.6
          }
        },
        "per_image": 1.6,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "variants": {
        "label": "Version",
        "default": "creative",
        "options": [
          {
            "id": "creative",
            "label": "Creative",
            "description": "Adds the most new detail.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/clarity-ai/creative-upscaler",
              "error": "data.error",
              "body": {
                "image": "{{image}}",
                "target_megapixels": "{{fields.target_megapixels}}",
                "creativity": "{{fields.creativity}}"
              }
            },
            "pricing": {
              "by_field": {
                "target_megapixels": {
                  "1": 0.05,
                  "2": 0.05,
                  "4": 0.05,
                  "8": 0.1,
                  "16": 0.2,
                  "32": 0.8,
                  "64": 1.6
                }
              },
              "per_image": 1.6,
              "note": "WaveSpeed's list price, from its Pricing API."
            }
          },
          {
            "id": "pro",
            "label": "Pro",
            "description": "Stays close to your image.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/clarity-ai/pro-upscaler",
              "error": "data.error",
              "body": {
                "image": "{{image}}",
                "target_megapixels": "{{fields.target_megapixels}}",
                "creativity": "{{fields.creativity}}"
              }
            },
            "pricing": {
              "by_field": {
                "target_megapixels": {
                  "1": 0.03,
                  "2": 0.06,
                  "4": 0.12,
                  "8": 0.24,
                  "16": 0.48,
                  "32": 0.96,
                  "64": 1.92
                }
              },
              "per_image": 1.92,
              "note": "WaveSpeed's list price, from its Pricing API."
            }
          },
          {
            "id": "flux",
            "label": "FLUX",
            "description": "Upscales with FLUX.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/clarity-ai/flux-upscaler",
              "error": "data.error",
              "body": {
                "image": "{{image}}",
                "target_megapixels": "{{fields.target_megapixels}}",
                "creativity": "{{fields.creativity}}"
              }
            },
            "pricing": {
              "by_field": {
                "target_megapixels": {
                  "1": 0.2,
                  "2": 0.2,
                  "4": 0.2,
                  "8": 0.4,
                  "16": 0.6,
                  "32": 2.4,
                  "64": 3.2
                }
              },
              "per_image": 3.2,
              "note": "WaveSpeed's list price, from its Pricing API."
            }
          }
        ]
      }
    },
    {
      "id": "recraft-crisp-upscale",
      "label": "Recraft Crisp Upscale",
      "group": "Upscale",
      "description": "Recraft Crisp Upscale: sharper, cleaner images. WaveSpeed always returns about 4.2 MP (2048 x 2048 worth) in your image's shape, so an image larger than that comes back smaller.",
      "prompt": {
        "mode": "none"
      },
      "fields": [],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload",
        "max_mb": 9.5,
        "max_megapixels": 16,
        "max_side": 4096
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-crisp-upscale",
        "error": "data.error",
        "body": {
          "image": "{{image}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.004,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "upscale": {
        "target_pixels": 4194304
      }
    },
    {
      "id": "recraft-creative-upscale",
      "label": "Recraft Creative Upscale",
      "group": "Upscale",
      "description": "Recraft Creative Upscale refines small details and faces. Wando can't show the result's size before the run.",
      "prompt": {
        "mode": "none"
      },
      "fields": [],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload",
        "max_mb": 9.5,
        "max_megapixels": 16,
        "max_side": 4096
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-creative-upscale",
        "error": "data.error",
        "body": {
          "image": "{{image}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.25,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "bria-increase-resolution",
      "label": "Bria Increase Resolution",
      "group": "Upscale",
      "description": "Bria's 2x or 4x upscaling, keeping transparency.",
      "prompt": {
        "mode": "none"
      },
      "fields": [
        {
          "key": "desired_increase",
          "label": "Scale",
          "type": "combo",
          "default": 2,
          "options": [
            {
              "label": "2x",
              "value": 2
            },
            {
              "label": "4x",
              "value": 4
            }
          ],
          "help": "Bria's results are at most 8192 x 8192 pixels in area, so 4x takes images up to about 4 megapixels."
        },
        {
          "key": "preserve_alpha",
          "label": "Keep Transparency",
          "type": "bool",
          "default": true
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bria/increase-resolution",
        "error": "data.error",
        "body": {
          "image": "{{image}}",
          "desired_increase": "{{fields.desired_increase}}",
          "preserve_alpha": "{{fields.preserve_alpha}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "upscale": {
        "field": "desired_increase",
        "factors": {
          "2x": 2,
          "4x": 4
        }
      }
    },
    {
      "id": "p-image-upscale",
      "label": "P-Image Upscale",
      "group": "Upscale",
      "description": "Pruna P-Image Upscale to the megapixels you choose, with extra detail and realism. Wando can't show the result's size before the run.",
      "prompt": {
        "mode": "none"
      },
      "fields": [
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "JPG",
              "value": "jpg"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "target",
          "label": "Target",
          "type": "combo",
          "default": 4,
          "options": [
            {
              "label": "1 MP",
              "value": 1
            },
            {
              "label": "2 MP",
              "value": 2
            },
            {
              "label": "4 MP",
              "value": 4
            },
            {
              "label": "8 MP",
              "value": 8
            },
            {
              "label": "16 MP",
              "value": 16
            },
            {
              "label": "32 MP",
              "value": 32
            },
            {
              "label": "64 MP",
              "value": 64
            },
            {
              "label": "128 MP",
              "value": 128
            }
          ]
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/pruna-ai/p-image/upscale",
        "error": "data.error",
        "body": {
          "image": "{{image}}",
          "target": "{{fields.target}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "by_field": {
          "target": {
            "1": 0.005,
            "2": 0.005,
            "4": 0.005,
            "8": 0.01,
            "16": 0.02,
            "32": 0.04,
            "64": 0.06,
            "128": 0.12
          }
        },
        "per_image": 0.12,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "real-esrgan",
      "label": "Real-ESRGAN",
      "group": "Upscale",
      "description": "Real-ESRGAN: fast, low cost upscaling. Wando can't show the result's size before the run.",
      "prompt": {
        "mode": "none"
      },
      "fields": [],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/real-esrgan",
        "error": "data.error",
        "body": {
          "image": "{{image}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.0024,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "remove-background",
      "label": "Remove Background",
      "group": "Image Tools",
      "description": "Transparent cutouts of your image's subject, with a choice of engine.",
      "prompt": {
        "mode": "none"
      },
      "fields": [],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bria/remove-background",
        "error": "data.error",
        "body": {
          "image": "{{image}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.018,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "variants": {
        "label": "Engine",
        "default": "bria",
        "options": [
          {
            "id": "bria",
            "label": "Bria RMBG",
            "description": "Bria's precise remover.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/bria/remove-background",
              "error": "data.error",
              "body": {
                "image": "{{image}}"
              }
            },
            "pricing": {
              "per_image": 0.018,
              "note": "WaveSpeed's list price, from its Pricing API."
            }
          },
          {
            "id": "ideogram",
            "label": "Ideogram",
            "description": "Ideogram's remover.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/ideogram-ai/remove-background",
              "error": "data.error",
              "body": {
                "image": "{{image}}"
              }
            },
            "pricing": {
              "per_image": 0.01,
              "note": "WaveSpeed's list price, from its Pricing API."
            }
          },
          {
            "id": "wavespeed",
            "label": "WaveSpeed",
            "description": "WaveSpeed's own remover.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/image-background-remover",
              "error": "data.error",
              "body": {
                "image": "{{image}}"
              }
            },
            "pricing": {
              "per_image": 0.004,
              "note": "WaveSpeed's list price, from its Pricing API."
            }
          },
          {
            "id": "feynobg",
            "label": "FeyNoBG",
            "description": "The cheapest.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/feynobg",
              "error": "data.error",
              "body": {
                "image": "{{image}}"
              }
            },
            "pricing": {
              "per_image": 0.001,
              "note": "WaveSpeed's list price, from its Pricing API."
            }
          }
        ]
      }
    },
    {
      "id": "eraser",
      "label": "Eraser",
      "group": "Image Tools",
      "description": "Paint over an object and it is removed, with the background filled in.",
      "prompt": {
        "mode": "none"
      },
      "fields": [
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            }
          ]
        },
        {
          "key": "dilate_pixels",
          "label": "Grow Mask",
          "type": "int_slider",
          "min": 0,
          "max": 100,
          "default": 10,
          "help": "Widens the painted area by this many pixels for a cleaner edge."
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "mask": {
        "mode": "required",
        "paint": "white"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bria/eraser",
        "error": "data.error",
        "body": {
          "image": "{{image}}",
          "mask_image": "{{mask}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.04,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "variants": {
        "label": "Engine",
        "default": "bria",
        "options": [
          {
            "id": "bria",
            "label": "Bria",
            "description": "Bria's eraser.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/bria/eraser",
              "error": "data.error",
              "body": {
                "image": "{{image}}",
                "mask_image": "{{mask}}"
              }
            },
            "pricing": {
              "per_image": 0.04,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [],
            "mask": {
              "mode": "required",
              "paint": "white"
            }
          },
          {
            "id": "flux",
            "label": "FLUX",
            "description": "FLUX.1 [pro] Erase, with a mask grow setting.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-v1-pro/erase",
              "error": "data.error",
              "body": {
                "image": "{{image}}",
                "mask_image": "{{mask}}",
                "dilate_pixels": "{{fields.dilate_pixels}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "per_image": 0.08,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "dilate_pixels",
              "output_format"
            ],
            "mask": {
              "mode": "required",
              "paint": "white"
            }
          }
        ]
      }
    },
    {
      "id": "image-eraser",
      "label": "Image Eraser",
      "group": "Image Tools",
      "description": "Removes what you paint over, or what the prompt names, and fills the area in.",
      "prompt": {
        "mode": "optional"
      },
      "fields": [
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "mask": {
        "mode": "optional",
        "paint": "white"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/image-eraser",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "mask_image": "{{mask}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.025,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "remove-text",
      "label": "Remove Text",
      "group": "Image Tools",
      "description": "Removes the text from your image and fills in behind it.",
      "prompt": {
        "mode": "none"
      },
      "fields": [
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/ideogram-ai/ideogram-v3/remove-text",
        "error": "data.error",
        "body": {
          "image": "{{image}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.09,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "variants": {
        "label": "Engine",
        "default": "ideogram",
        "options": [
          {
            "id": "ideogram",
            "label": "Ideogram",
            "description": "Ideogram V3.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/ideogram-ai/ideogram-v3/remove-text",
              "error": "data.error",
              "body": {
                "image": "{{image}}"
              }
            },
            "pricing": {
              "per_image": 0.09,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": []
          },
          {
            "id": "wavespeed",
            "label": "WaveSpeed",
            "description": "WaveSpeed's own remover.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/image-text-remover",
              "error": "data.error",
              "body": {
                "image": "{{image}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "per_image": 0.15,
              "note": "WaveSpeed's list price, from its Pricing API."
            }
          }
        ]
      }
    },
    {
      "id": "watermark-remover",
      "label": "Watermark Remover",
      "group": "Image Tools",
      "description": "Removes watermarks from your image.",
      "prompt": {
        "mode": "none"
      },
      "fields": [
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/image-watermark-remover",
        "error": "data.error",
        "body": {
          "image": "{{image}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.015,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "extract-object",
      "label": "Extract Object",
      "group": "Image Tools",
      "description": "Bria cuts out the object your prompt names, on a transparent background.",
      "prompt": {
        "mode": "optional"
      },
      "fields": [
        {
          "key": "force_background_removal",
          "label": "Clean Edges",
          "type": "bool",
          "default": false,
          "help": "An extra background removal pass for cleaner transparent edges."
        },
        {
          "key": "autocrop",
          "label": "Crop to Object",
          "type": "bool",
          "default": false
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/bria/extract-object",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "force_background_removal": "{{fields.force_background_removal}}",
          "autocrop": "{{fields.autocrop}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.02,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "zoom-out",
      "label": "Zoom Out",
      "group": "Image Tools",
      "description": "Extends your image past its edges, as if the camera stepped back.",
      "prompt": {
        "mode": "none"
      },
      "fields": [
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/image-zoom-out",
        "error": "data.error",
        "body": {
          "image": "{{image}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.02,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "ic-light",
      "label": "IC-Light",
      "group": "Image Tools",
      "description": "IC-Light relights your photo from a description, such as warm sunset light from the left.",
      "fields": [
        {
          "key": "lighting_direction",
          "label": "Light From",
          "type": "combo",
          "default": "None",
          "options": [
            {
              "label": "None",
              "value": "None"
            },
            {
              "label": "Left",
              "value": "Left"
            },
            {
              "label": "Right",
              "value": "Right"
            },
            {
              "label": "Top",
              "value": "Top"
            },
            {
              "label": "Bottom",
              "value": "Bottom"
            }
          ]
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/ic-light",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "lighting_direction": "{{fields.lighting_direction}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.2,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "translate-text",
      "label": "Translate Text",
      "group": "Image Tools",
      "description": "Translates the text in your image and redraws it in the new language.",
      "prompt": {
        "mode": "none"
      },
      "fields": [
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "source_lang",
          "label": "From",
          "type": "combo",
          "default": "auto",
          "options": [
            {
              "label": "Auto",
              "value": "auto"
            },
            {
              "label": "English",
              "value": "en"
            },
            {
              "label": "Chinese",
              "value": "zh"
            },
            {
              "label": "Japanese",
              "value": "ja"
            },
            {
              "label": "Korean",
              "value": "ko"
            },
            {
              "label": "French",
              "value": "fr"
            },
            {
              "label": "German",
              "value": "de"
            },
            {
              "label": "Spanish",
              "value": "es"
            },
            {
              "label": "Russian",
              "value": "ru"
            },
            {
              "label": "Arabic",
              "value": "ar"
            }
          ]
        },
        {
          "key": "target_lang",
          "label": "To",
          "type": "combo",
          "default": "zh",
          "options": [
            {
              "label": "English",
              "value": "en"
            },
            {
              "label": "Chinese",
              "value": "zh"
            },
            {
              "label": "Japanese",
              "value": "ja"
            },
            {
              "label": "Korean",
              "value": "ko"
            },
            {
              "label": "French",
              "value": "fr"
            },
            {
              "label": "German",
              "value": "de"
            },
            {
              "label": "Spanish",
              "value": "es"
            },
            {
              "label": "Russian",
              "value": "ru"
            },
            {
              "label": "Arabic",
              "value": "ar"
            }
          ]
        },
        {
          "key": "skip_image_segment",
          "label": "Skip Segmenting",
          "type": "bool",
          "default": false
        },
        {
          "key": "target_language",
          "label": "To",
          "type": "combo",
          "default": "english",
          "options": [
            {
              "label": "English",
              "value": "english"
            },
            {
              "label": "Chinese (Simplified)",
              "value": "chinese-simplified"
            },
            {
              "label": "Chinese (Traditional)",
              "value": "chinese-traditional"
            },
            {
              "label": "Spanish",
              "value": "spanish"
            },
            {
              "label": "French",
              "value": "french"
            },
            {
              "label": "Arabic",
              "value": "arabic"
            },
            {
              "label": "Hindi",
              "value": "hindi"
            },
            {
              "label": "Bengali",
              "value": "bengali"
            },
            {
              "label": "Portuguese",
              "value": "portuguese"
            },
            {
              "label": "Russian",
              "value": "russian"
            },
            {
              "label": "Japanese",
              "value": "japanese"
            },
            {
              "label": "Korean",
              "value": "korean"
            },
            {
              "label": "German",
              "value": "german"
            },
            {
              "label": "Italian",
              "value": "italian"
            },
            {
              "label": "Dutch",
              "value": "dutch"
            },
            {
              "label": "Polish",
              "value": "polish"
            },
            {
              "label": "Turkish",
              "value": "turkish"
            },
            {
              "label": "Vietnamese",
              "value": "vietnamese"
            },
            {
              "label": "Thai",
              "value": "thai"
            },
            {
              "label": "Indonesian",
              "value": "indonesian"
            },
            {
              "label": "Malay",
              "value": "malay"
            },
            {
              "label": "Filipino",
              "value": "filipino"
            },
            {
              "label": "Urdu",
              "value": "urdu"
            },
            {
              "label": "Persian",
              "value": "persian"
            },
            {
              "label": "Hebrew",
              "value": "hebrew"
            },
            {
              "label": "Swedish",
              "value": "swedish"
            },
            {
              "label": "Danish",
              "value": "danish"
            },
            {
              "label": "Norwegian",
              "value": "norwegian"
            },
            {
              "label": "Finnish",
              "value": "finnish"
            },
            {
              "label": "Greek",
              "value": "greek"
            },
            {
              "label": "Czech",
              "value": "czech"
            },
            {
              "label": "Hungarian",
              "value": "hungarian"
            },
            {
              "label": "Romanian",
              "value": "romanian"
            },
            {
              "label": "Ukrainian",
              "value": "ukrainian"
            }
          ]
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/alibaba/qwen-image/translate",
        "error": "data.error",
        "body": {
          "image": "{{image}}",
          "source_lang": "{{fields.source_lang}}",
          "target_lang": "{{fields.target_lang}}",
          "skip_image_segment": "{{fields.skip_image_segment}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.012,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "variants": {
        "label": "Engine",
        "default": "qwen",
        "options": [
          {
            "id": "qwen",
            "label": "Qwen",
            "description": "Alibaba Qwen, nine languages.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/alibaba/qwen-image/translate",
              "error": "data.error",
              "body": {
                "image": "{{image}}",
                "source_lang": "{{fields.source_lang}}",
                "target_lang": "{{fields.target_lang}}",
                "skip_image_segment": "{{fields.skip_image_segment}}"
              }
            },
            "pricing": {
              "per_image": 0.012,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "source_lang",
              "target_lang",
              "skip_image_segment"
            ]
          },
          {
            "id": "wavespeed",
            "label": "WaveSpeed",
            "description": "WaveSpeed's own translator, more languages.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/image-translator",
              "error": "data.error",
              "body": {
                "image": "{{image}}",
                "target_language": "{{fields.target_language}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "per_image": 0.15,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "target_language",
              "output_format"
            ]
          }
        ]
      }
    },
    {
      "id": "depth-map",
      "label": "Depth Map",
      "group": "Image Tools",
      "description": "Depth Anything makes a depth map of your image, for depth guided tools.",
      "prompt": {
        "mode": "none"
      },
      "fields": [
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "colormap",
          "label": "Colors",
          "type": "combo",
          "default": "grayscale",
          "options": [
            {
              "label": "Grayscale",
              "value": "grayscale"
            },
            {
              "label": "Inferno",
              "value": "inferno"
            },
            {
              "label": "Turbo",
              "value": "turbo"
            }
          ],
          "help": "Grayscale is the usual depth map, near white and far black; the others are for viewing."
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/depth-anything-v3/image",
        "error": "data.error",
        "body": {
          "image": "{{image}}",
          "colormap": "{{fields.colormap}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.005,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "variants": {
        "label": "Version",
        "default": "v3",
        "options": [
          {
            "id": "v3",
            "label": "V3",
            "description": "The newer model, with color options.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/depth-anything-v3/image",
              "error": "data.error",
              "body": {
                "image": "{{image}}",
                "colormap": "{{fields.colormap}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "per_image": 0.005,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "colormap",
              "output_format"
            ]
          },
          {
            "id": "v1",
            "label": "V1",
            "description": "The first model.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/depth-anything/image",
              "error": "data.error",
              "body": {
                "image": "{{image}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "per_image": 0.005,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "output_format"
            ]
          }
        ]
      }
    },
    {
      "id": "face-blur",
      "label": "Face Blur",
      "group": "Image Tools",
      "description": "Blurs every face in your image.",
      "prompt": {
        "mode": "none"
      },
      "fields": [],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/image-face-blur",
        "error": "data.error",
        "body": {
          "image": "{{image}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.001,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "face-enhancer",
      "label": "Face Enhancer",
      "group": "Image Tools",
      "description": "Restores and sharpens faces at your image's size.",
      "prompt": {
        "mode": "none"
      },
      "fields": [
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/face-enhancer/image",
        "error": "data.error",
        "body": {
          "image": "{{image}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.01,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "upscale": {
        "factor": 1
      }
    },
    {
      "id": "photo-colorizer",
      "label": "Photo Colorizer",
      "group": "Image Tools",
      "description": "Adds natural color to a black and white photo.",
      "prompt": {
        "mode": "none"
      },
      "fields": [],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/ai-photo-colorizer",
        "error": "data.error",
        "body": {
          "image": "{{image}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.05,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "topaz",
      "label": "Topaz",
      "group": "Image Tools",
      "description": "Topaz photo repair: denoise, sharpen, fix lighting, or remove dust and scratches.",
      "prompt": {
        "mode": "none"
      },
      "fields": [
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            }
          ]
        },
        {
          "key": "model",
          "label": "Model",
          "type": "combo",
          "default": "Normal",
          "options": [
            {
              "label": "Normal",
              "value": "Normal"
            },
            {
              "label": "Strong",
              "value": "Strong"
            },
            {
              "label": "Extreme",
              "value": "Extreme"
            }
          ]
        },
        {
          "key": "model_2",
          "label": "Model",
          "type": "combo",
          "default": "Standard",
          "options": [
            {
              "label": "Standard",
              "value": "Standard"
            },
            {
              "label": "Strong",
              "value": "Strong"
            },
            {
              "label": "Lens Blur V2",
              "value": "Lens Blur V2"
            },
            {
              "label": "Motion Blur",
              "value": "Motion Blur"
            },
            {
              "label": "Natural",
              "value": "Natural"
            },
            {
              "label": "Refocus",
              "value": "Refocus"
            },
            {
              "label": "Wildlife",
              "value": "Wildlife"
            },
            {
              "label": "Portrait",
              "value": "Portrait"
            }
          ]
        },
        {
          "key": "model_3",
          "label": "Model",
          "type": "combo",
          "default": "Adjust V2",
          "options": [
            {
              "label": "Adjust V2",
              "value": "Adjust V2"
            },
            {
              "label": "White Balance",
              "value": "White Balance"
            },
            {
              "label": "Colorize",
              "value": "Colorize"
            }
          ]
        },
        {
          "key": "model_4",
          "label": "Model",
          "type": "combo",
          "default": "Dust-Scratch V2",
          "options": [
            {
              "label": "Dust Scratch V2",
              "value": "Dust-Scratch V2"
            }
          ]
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/topaz/image/denoise",
        "error": "data.error",
        "body": {
          "image": "{{image}}",
          "model": "{{fields.model}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.096,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "variants": {
        "label": "Tool",
        "default": "denoise",
        "options": [
          {
            "id": "denoise",
            "label": "Denoise",
            "description": "Removes noise.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/topaz/image/denoise",
              "error": "data.error",
              "body": {
                "image": "{{image}}",
                "model": "{{fields.model}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "per_image": 0.096,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "model",
              "output_format"
            ]
          },
          {
            "id": "sharpen",
            "label": "Sharpen",
            "description": "Fixes blur and brings back focus.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/topaz/image/sharpen",
              "error": "data.error",
              "body": {
                "image": "{{image}}",
                "model": "{{fields.model_2}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "per_image": 0.096,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "model_2",
              "output_format"
            ]
          },
          {
            "id": "lighting",
            "label": "Lighting",
            "description": "Fixes exposure and white balance, or colorizes.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/topaz/image/lighting",
              "error": "data.error",
              "body": {
                "image": "{{image}}",
                "model": "{{fields.model_3}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "per_image": 0.096,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "model_3",
              "output_format"
            ]
          },
          {
            "id": "restore",
            "label": "Restore",
            "description": "Removes dust and scratches.",
            "request": {
              "method": "POST",
              "url": "https://api.wavespeed.ai/api/v3/topaz/image/restore",
              "error": "data.error",
              "body": {
                "image": "{{image}}",
                "model": "{{fields.model_4}}",
                "output_format": "{{fields.output_format}}"
              }
            },
            "pricing": {
              "per_image": 0.096,
              "note": "WaveSpeed's list price, from its Pricing API."
            },
            "fields": [
              "model_4",
              "output_format"
            ]
          }
        ]
      }
    },
    {
      "id": "phota-enhance",
      "label": "Phota Enhance",
      "group": "Image Tools",
      "description": "Phota enhances a photo's detail and quality.",
      "prompt": {
        "mode": "none"
      },
      "fields": [
        {
          "key": "output_format",
          "label": "Format",
          "type": "combo",
          "default": "png",
          "options": [
            {
              "label": "JPEG",
              "value": "jpeg"
            },
            {
              "label": "PNG",
              "value": "png"
            },
            {
              "label": "WEBP",
              "value": "webp"
            }
          ]
        },
        {
          "key": "num_images",
          "label": "Images",
          "type": "int_slider",
          "min": 1,
          "max": 4,
          "default": 1
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/phota/enhance",
        "error": "data.error",
        "body": {
          "image": "{{image}}",
          "num_images": "{{fields.num_images}}",
          "output_format": "{{fields.output_format}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "count_field": "num_images",
        "per_image": 0.13,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "patina-material",
      "label": "PATINA Material",
      "group": "Image Tools",
      "description": "PATINA makes a seamless PBR material from your prompt.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "tiling_mode",
          "label": "Tiling",
          "type": "combo",
          "default": "both",
          "options": [
            {
              "label": "Both",
              "value": "both"
            },
            {
              "label": "Horizontal",
              "value": "horizontal"
            },
            {
              "label": "Vertical",
              "value": "vertical"
            }
          ],
          "help": "Which directions the material repeats seamlessly in."
        }
      ],
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/patina/material",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "size": "{{fields.size}}",
          "tiling_mode": "{{fields.tiling_mode}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.48,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ]
    },
    {
      "id": "patina-maps",
      "label": "PATINA Maps",
      "group": "Image Tools",
      "description": "PATINA makes base color, normal, roughness and other maps from a photo of a surface.",
      "prompt": {
        "mode": "none"
      },
      "fields": [],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/patina/image-to-map",
        "error": "data.error",
        "body": {
          "image": "{{image}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 0.25,
        "note": "WaveSpeed's list price, from its Pricing API."
      }
    },
    {
      "id": "patina-extract",
      "label": "PATINA Extract",
      "group": "Image Tools",
      "description": "PATINA extracts a seamless material from part of your photo that your prompt names.",
      "fields": [
        {
          "key": "size",
          "label": "Size",
          "type": "aspect_combo",
          "default": "1024*1024",
          "options": [
            {
              "label": "1:1 (1024 x 1024)",
              "value": "1024*1024"
            },
            {
              "label": "4:3 (1152 x 864)",
              "value": "1152*864"
            },
            {
              "label": "3:4 (864 x 1152)",
              "value": "864*1152"
            },
            {
              "label": "3:2 (1248 x 832)",
              "value": "1248*832"
            },
            {
              "label": "2:3 (832 x 1248)",
              "value": "832*1248"
            },
            {
              "label": "16:9 (1360 x 768)",
              "value": "1360*768"
            },
            {
              "label": "9:16 (768 x 1360)",
              "value": "768*1360"
            }
          ]
        },
        {
          "key": "tiling_mode",
          "label": "Tiling",
          "type": "combo",
          "default": "both",
          "options": [
            {
              "label": "Both",
              "value": "both"
            },
            {
              "label": "Horizontal",
              "value": "horizontal"
            },
            {
              "label": "Vertical",
              "value": "vertical"
            }
          ],
          "help": "Which directions the material repeats seamlessly in."
        }
      ],
      "references": {
        "mode": "required",
        "max": 1,
        "send_as": "upload",
        "role": "guide"
      },
      "request": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/patina/material-extract",
        "error": "data.error",
        "body": {
          "prompt": "{{prompt}}",
          "image": "{{image}}",
          "size": "{{fields.size}}",
          "tiling_mode": "{{fields.tiling_mode}}"
        }
      },
      "poll": {
        "url": "{{submit.data.urls.get}}",
        "status": "data.status",
        "done": [
          "completed"
        ],
        "failed": [
          "failed",
          "cancelled",
          "timeout",
          "deleted"
        ],
        "error": "data.error",
        "interval_seconds": 2,
        "timeout_seconds": 600
      },
      "result": {
        "images": "data.outputs",
        "encoding": "url"
      },
      "pricing": {
        "per_image": 1.02,
        "note": "WaveSpeed's list price, from its Pricing API."
      },
      "sizes": [
        {
          "aspect": "1:1",
          "width": 1024,
          "height": 1024,
          "values": {
            "size": "1024*1024"
          }
        },
        {
          "aspect": "4:3",
          "width": 1152,
          "height": 864,
          "values": {
            "size": "1152*864"
          }
        },
        {
          "aspect": "3:4",
          "width": 864,
          "height": 1152,
          "values": {
            "size": "864*1152"
          }
        },
        {
          "aspect": "3:2",
          "width": 1248,
          "height": 832,
          "values": {
            "size": "1248*832"
          }
        },
        {
          "aspect": "2:3",
          "width": 832,
          "height": 1248,
          "values": {
            "size": "832*1248"
          }
        },
        {
          "aspect": "16:9",
          "width": 1360,
          "height": 768,
          "values": {
            "size": "1360*768"
          }
        },
        {
          "aspect": "9:16",
          "width": 768,
          "height": 1360,
          "values": {
            "size": "768*1360"
          }
        }
      ]
    }
  ]
}
