
fofr / compare-character-consistency
Compare kontext, gpt-image-1, runway gen4 and seededit for character based images
- Public
- 208 runs
Run fofr/compare-character-consistency 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 |
---|
{
"type": "object",
"title": "Input",
"required": [
"image",
"prompt"
],
"properties": {
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Character to test"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 1,
"description": "Describe the image to generate"
},
"return_grid": {
"type": "boolean",
"title": "Return Grid",
"default": false,
"x-order": 4,
"description": "Return a grid image as an extra file at the end"
},
"aspect_ratio": {
"enum": [
"1:1",
"16:9",
"9:16",
"4:3",
"3:4"
],
"type": "string",
"title": "aspect_ratio",
"description": "An enumeration.",
"default": "1:1",
"x-order": 2
},
"openai_api_key": {
"type": "string",
"title": "Openai Api Key",
"format": "password",
"x-order": 5,
"writeOnly": true,
"description": "An optional OpenAI API key. This is needed to run gpt-image-1.",
"x-cog-secret": true
},
"label_model_name": {
"type": "boolean",
"title": "Label Model Name",
"default": false,
"x-order": 3,
"description": "Add model name label to images"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}
Example API response
View prediction
['https://replicate.delivery/xezq/mcOhyy72aWZsJRTp37M35ZtlWBqgs6kF143bfjc3av7EcdhKA/tmpftfjrzi2.png',
'https://replicate.delivery/xezq/K1fqomfYAYlbcUlQZMKkysg1bRfadhgPrkeAmGdhPU8ngrLUB/tmpxej4si5l.webp',
'https://replicate.delivery/xezq/5UGjAxlRGMKcGlee18ZCqAlXwIZ9Vf1BQdXJ5IrlOSBSw1FqA/tmp95y633n5.jpg',
'https://replicate.delivery/xezq/ylQdRbGcLLpSA9I6IMK2yCh72VS40V0gau6Z9yyCS1dCuuQF/tmpa4rxgxoy.png',
'https://replicate.delivery/xezq/BI6Me8GTHjUwb6pB3nyjueZk5ieMPAX7y8H01Y95WRKTw1FqA/tmpfjoh10m4.png']