founderfeed/image-editor
Public
98
runs
Run founderfeed/image-editor with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| images |
array
|
[]
|
Images to edit (supports 1 or more images: -i images=@file1.jpg -i images=@file2.jpg)
|
| prompt |
string
|
Text prompt describing the desired edit
|
|
| model_name |
None
|
nano_banana_pro
|
Choose the image editing model (all models support both single and multiple images)
|
| auto_upscale |
boolean
|
False
|
Automatically upscale the output image using professional AI upscaler
|
| replicate_api_key |
string
|
Your Replicate API key (starts with r8_). Get it from https://replicate.com/account/api-tokens
|
|
| openai_api_key |
string
|
Your OpenAI API key
|
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"images": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Images",
"default": [],
"x-order": 0,
"description": "Images to edit (supports 1 or more images: -i images=@file1.jpg -i images=@file2.jpg)"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 1,
"description": "Text prompt describing the desired edit"
},
"model_name": {
"enum": [
"flux_2_flex",
"flux_2_max",
"qwen_image_edit",
"nano_banana_pro",
"gpt_image_editor",
"seedream_4"
],
"type": "string",
"title": "model_name",
"description": "Choose the image editing model (all models support both single and multiple images)",
"default": "nano_banana_pro",
"x-order": 2
},
"auto_upscale": {
"type": "boolean",
"title": "Auto Upscale",
"default": false,
"x-order": 3,
"description": "Automatically upscale the output image using professional AI upscaler"
},
"openai_api_key": {
"type": "string",
"title": "Openai Api Key",
"format": "password",
"x-order": 5,
"writeOnly": true,
"description": "Your OpenAI API key",
"x-cog-secret": true
},
"replicate_api_key": {
"type": "string",
"title": "Replicate Api Key",
"format": "password",
"x-order": 4,
"writeOnly": true,
"description": "Your Replicate API key (starts with r8_). Get it from https://replicate.com/account/api-tokens",
"x-cog-secret": true
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}