Turn a face photo into 6 fun styles (15M+ runs) โ 3D, Emoji, Video game, Pixels, Clay, or Toy. The viral avatar generator behind countless profile-picture apps.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "fofr/face-to-many",
"input": {
"image": "https://example.com/selfie.jpg",
"style": "Emoji"
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | No | a person | Optional subject description |
image | string | No | - | Face photo to stylize |
style | string | No | 3D | Target style 3DEmojiVideo gamePixelsClayToy |
negative_prompt | string | No | - | Things you do not want in the image |
denoising_strength | number | No | 0.65 | How much to re-imagine (0-1) |
prompt_strength | number | No | 4.5 | Strength of the prompt. This is the CFG scale, higher numbers lead to stronger prompt, lower numbers will keep more of a likeness to the original. |
control_depth_strength | number | No | 0.8 | Strength of depth controlnet. The bigger this is, the more controlnet affects the output. |
instant_id_strength | number | No | 1 | How strongly to preserve the face (0-1) |
seed | integer | No | - | Random seed |
custom_lora_url | string | No | - | Optional custom LoRA URL for your own style |
lora_scale | number | No | 1 | How strong the LoRA will be |
There are 3 ways to provide files for the image parameter:
Attach files directly to POST /v1/predictions/upload. No separate upload step needed.
curl -X POST "https://api.core.today/v1/predictions/upload" \
-H "X-API-Key: cdt_your_api_key" \
-F "model=fofr/face-to-many" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:image=@your_file.png"Pass a publicly accessible URL directly. You can also use file_url from the Storage API.
{
"model": "fofr/face-to-many",
"input": {
"prompt": "your prompt here",
"image": "https://example.com/image.jpg"
}
}Common parameters used when calling POST /v1/predictions.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | - | Model identifier |
input | object | Yes | - | Object containing the model-specific parameters from the table above |
output_folder | string | No | - | Folder path for output files (max 256 chars, '..' not allowed) |
webhook_url | string | No | - | Webhook URL to call on completion |
is_public | boolean | No | false | If true, output files are also available via permanent public URLs |
Turn a selfie into an emoji-style avatar
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "fofr/face-to-many",
"input": {
"image": "https://example.com/selfie.jpg",
"style": "Emoji"
}
}'POST /v1/predictions