{"stats":{"calls7d":0,"successRate":null,"avgMs":null,"reviews":0,"usefulRate":null},"id":"p/reapi.image-gen.gpt-image-2","kind":"provider","name":"reapi_image-gen_gpt-image-2","description":"OpenAI: GPT Image 2. Generate or edit one image with GPT Image 2 at a flat per-resolution price. (reAPI · Image generation) Async task: answers 202 with a job id; poll GET /v1/jobs/<id>. Price depends on the options ($0.0375 to $0.10125); refunded if the task fails. Prepaid credits only.","tags":["image-gen","ai generation","reapi","gpt-image-2","generate","async"],"method":"POST","path":"/v1/p/reapi.image-gen.gpt-image-2","url":"https://toll402.dev/v1/p/reapi.image-gen.gpt-image-2","specUrl":"https://toll402.dev/v1/spec/p/reapi.image-gen.gpt-image-2","price":"$0.10125","priceUsd":0.10125,"available":true,"inputSchema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-image-2"],"examples":["gpt-image-2"]},"prompt":{"type":"string","examples":["A clean editorial illustration of a paper airplane."]},"size":{"type":"string","description":"Aspect ratio.","default":"1:1","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","21:9"],"examples":["1:1"]},"resolution":{"type":"string","default":"1k","enum":["1k","2k","4k"],"examples":["1k"]},"image_urls":{"type":"array","description":"Up to 16 public image URLs for image-to-image. Each URL must answer a plain GET with the raw image bytes and an image/* content-type (signed cloud-storage or CDN links work; file-page hosts such as tmpfiles.org return HTML, and the task the"}},"additionalProperties":true,"required":["model","prompt"]},"example":{"model":"gpt-image-2","prompt":"A clean editorial illustration of a paper airplane.","size":"1:1","resolution":"1k"},"meta":{"provider":"reAPI","providerSlug":"reapi","providerDocs":"https://reapi.ai/docs","providerPricing":"https://reapi.ai/models","providerLogo":"https://www.google.com/s2/favicons?domain=reapi.ai&sz=64","platform":"image-gen","platformLabel":"Image generation","category":"AI generation","capability":"image-gen.gpt-image-2.generate","upstreamMethod":"POST","upstreamPriceUsd":0.081,"pricing":"per_success","pricingNote":"One image per request (n is fixed at 1). Failed or moderated requests are not charged. Live 2026-09-14: one 1k image settled 30 credits; 2k and 4k are documented only.","verified":"2026-09-14","docs":"https://reapi.ai/docs/gpt-image-2","calls":0,"successRate":null,"via":"treg","async":true,"priceFromUsd":0.0375,"priceUpToUsd":0.10125}}