{"version":"1","model":{"id":"fal-ai/flux-2-max/edit","name":"Flux 2 Max (Edit)","kind":"image","availability":"available","available":true,"restricted":false,"api_key_only":false,"description":"Flux 2 Max Edit — maximum-quality inpainting and editing using Black Forest Labs' Flux 2 Max 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":13,"api_gross_margin_percent":20,"added_at":"2026-05-05","popularity_rank":107,"example_prompt":"Seamlessly replace the sky with a vivid aurora borealis, maintain perfect lighting consistency with the foreground","preview":{"image":"https://cdn.artemotion.ai/file/artemotion-ai-bckt/model-previews/flux-2-max-edit-sm.webp"},"schema_url":"/api/v1/models?id=fal-ai%2Fflux-2-max%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-max%2Fedit","title":"Flux 2 Max (Edit) generation request","description":"Request body accepted by POST /api/v1/generate for fal-ai/flux-2-max/edit.","type":"object","properties":{"model_id":{"type":"string","const":"fal-ai/flux-2-max/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":"The safety tolerance level for the generated image. 1 being the most strict and 5 being the 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":"The safety tolerance level for the generated image. 1 being the most strict and 5 being the 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."}]}}