
fofr/face-swap-with-ideogram

Use ideogram-character to face-swap someone into a target image
Public
3K
runs
Run fofr/face-swap-with-ideogram 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 |
---|---|---|---|
character_image |
string
|
Reference image of the character whose face to swap
|
|
target_image |
string
|
Target image where the character's face will be placed
|
|
prompt |
string
|
Optional custom prompt for the face swap. If not provided, Claude will analyze the target image to generate one
|
{
"type": "object",
"title": "Input",
"required": [
"character_image",
"target_image"
],
"properties": {
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 2,
"nullable": true,
"description": "Optional custom prompt for the face swap. If not provided, Claude will analyze the target image to generate one"
},
"target_image": {
"type": "string",
"title": "Target Image",
"format": "uri",
"x-order": 1,
"description": "Target image where the character's face will be placed"
},
"character_image": {
"type": "string",
"title": "Character Image",
"format": "uri",
"x-order": 0,
"description": "Reference image of the character whose face to swap"
}
}
}
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"
}
Example API response
View prediction
'https://replicate.delivery/xezq/DwUytb6AY8q1F9FXP9W91Bo8VCWhhAVOPzhfC1ft7zBX06IVA/tmpoza_3kkg.png'