{"version":"1","model":{"id":"openai/gpt-image-2/edit","name":"GPT Image 2 (Edit)","kind":"image","availability":"available","available":true,"restricted":false,"api_key_only":false,"description":"GPT Image 2 Edit — instruction-following image editing with up to 16 reference images, multilingual text, and up to 2K output.","categories":["generate-image","inpaint"],"prompt_required":true,"prompt_supported":true,"supports":{"referenceImage":true},"requires":{"referenceImage":true},"aspect_ratios":["1:1","3:2","2:3","Auto"],"resolutions":["1024","2048"],"qualities":["low","medium","high"],"durations":[],"output_formats":["png","jpeg","webp"],"max_images":4,"max_reference_images":16,"base_credits":5,"api_gross_margin_percent":20,"added_at":"2026-05-05","popularity_rank":235,"example_prompt":"Transform this living room into a lush tropical paradise — replace the walls with dense jungle foliage, add a waterfall feature in the corner, hang vibrant orchids and bromeliads from the ceiling, keep the marble coffee table but surround it with smooth river stones and emerald moss, golden afternoon sunlight streaming through the leaves","preview":{"image":"https://cdn.artemotion.ai/file/artemotion-ai-bckt/model-previews/gpt-image-2-edit-sm.webp"},"schema_url":"/api/v1/models?id=openai%2Fgpt-image-2%2Fedit","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://www.artemotion.ai/api/v1/models?id=openai%2Fgpt-image-2%2Fedit","title":"GPT Image 2 (Edit) generation request","description":"Request body accepted by POST /api/v1/generate for openai/gpt-image-2/edit.","type":"object","properties":{"model_id":{"type":"string","const":"openai/gpt-image-2/edit","description":"ArtEmotion model identifier."},"extra":{"type":"object","additionalProperties":true,"description":"Model-specific settings may also be nested here."},"max_credits":{"type":"number","minimum":1,"description":"Reject before submission if the estimated list price exceeds this cap."},"webhook_url":{"type":"string","format":"uri","maxLength":2048},"webhook_secret":{"type":"string","maxLength":512},"folder_id":{"type":"string"},"prompt":{"type":"string"},"output_format":{"title":"Output Format","description":"Output format for the images","default":"png","type":"string","enum":["jpeg","png","webp"]},"quality":{"title":"Quality","description":"Quality for the generated image. Use 'auto' to let the model pick the best quality for the prompt.","default":"medium","type":"string","enum":["auto","low","medium","high"]},"mask_url":{"title":"Mask URL","description":"URL of a mask image indicating which part of the image to edit (transparent areas are edited, opaque areas are preserved).","type":"string"},"output_compression":{"title":"Output Compression","description":"Compression level for jpeg/webp output formats (100 = best quality).","default":100,"type":"number","minimum":0,"maximum":100,"multipleOf":1},"aspect_ratio":{"type":"string","enum":["1:1","3:2","2:3","Auto"]},"resolution":{"type":"string","enum":["1024","2048"]},"num_images":{"type":"integer","minimum":1,"maximum":4},"reference_image_urls":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":16}},"required":["model_id","prompt","reference_image_urls"],"additionalProperties":false},"parameters":[{"key":"output_format","label":"Output Format","type":"select","default":"png","options":["jpeg","png","webp"],"description":"Output format for the images"},{"key":"quality","label":"Quality","type":"select","default":"medium","options":["auto","low","medium","high"],"description":"Quality for the generated image. Use 'auto' to let the model pick the best quality for the prompt."},{"key":"mask_url","label":"Mask URL","type":"text","description":"URL of a mask image indicating which part of the image to edit (transparent areas are edited, opaque areas are preserved)."},{"key":"output_compression","label":"Output Compression","type":"number","default":100,"min":0,"max":100,"step":1,"description":"Compression level for jpeg/webp output formats (100 = best quality)."}]}}