{"version":"1","model":{"id":"fal-ai/flux-2-pro/edit","name":"Flux 2 Pro (Edit)","kind":"image","availability":"available","available":true,"restricted":false,"api_key_only":false,"description":"Flux 2 Pro Edit — professional-grade inpainting and image editing using Black Forest Labs' Flux 2 Pro model.","categories":["inpaint"],"prompt_required":true,"prompt_supported":true,"supports":{"referenceImage":true},"requires":{"referenceImage":true},"aspect_ratios":["1:1","16:9","9:16","4:3","3:4","Custom"],"resolutions":["512","1024","2048","4096"],"durations":[],"output_formats":["jpeg","png"],"max_images":1,"base_credits":6,"api_gross_margin_percent":20,"added_at":"2026-05-05","popularity_rank":104,"example_prompt":"Replace the background with a misty mountain valley at dusk, keep the subject perfectly intact","preview":{"image":"https://cdn.artemotion.ai/file/artemotion-ai-bckt/model-previews/flux-2-pro-edit-sm.webp"},"schema_url":"/api/v1/models?id=fal-ai%2Fflux-2-pro%2Fedit","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://www.artemotion.ai/api/v1/models?id=fal-ai%2Fflux-2-pro%2Fedit","title":"Flux 2 Pro (Edit) generation request","description":"Request body accepted by POST /api/v1/generate for fal-ai/flux-2-pro/edit.","type":"object","properties":{"model_id":{"type":"string","const":"fal-ai/flux-2-pro/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"},"safety_tolerance":{"title":"Safety Tolerance","description":"Safety tolerance level — 1 = most strict, 5 = most permissive.","default":"2","type":"number","enum":[1,2,3,4,5]},"seed":{"title":"Seed","description":"The seed to use for the generation.","type":"integer"},"enable_safety_checker":{"title":"Enable Safety Checker","description":"Whether to enable the safety checker.","default":true,"type":"boolean"},"output_format":{"title":"Output Format","description":"The format of the generated image.","default":"jpeg","type":"string","enum":["jpeg","png"]},"aspect_ratio":{"type":"string","enum":["1:1","16:9","9:16","4:3","3:4","Custom"]},"resolution":{"type":"string","enum":["512","1024","2048","4096"]},"reference_image_url":{"type":"string","format":"uri"}},"required":["model_id","prompt","reference_image_url"],"additionalProperties":false},"parameters":[{"key":"safety_tolerance","label":"Safety Tolerance","type":"select","default":"2","options":["1","2","3","4","5"],"description":"Safety tolerance level — 1 = most strict, 5 = most permissive."},{"key":"seed","label":"Seed","type":"seed","description":"The seed to use for the generation."},{"key":"enable_safety_checker","label":"Enable Safety Checker","type":"toggle","default":true,"description":"Whether to enable the safety checker."},{"key":"output_format","label":"Output Format","type":"select","default":"jpeg","options":["jpeg","png"],"description":"The format of the generated image."}]}}