G
GetLLMs

Face to Many Kontext

Unleash your creativity with Face to Many Kontext. Transform any face into diverse artistic styles and personas, generating multiple unique images.

Platform: Replicate
Face TransformationStyle TransferCharacter GenerationImage Synthesis
3.8k runs
0.04 per output image
License Check Required

🚀Function Overview

Transforms input face images into multiple artistic variations by applying specified styles and personas while offering control over background, outfit, and generation parameters.

Key Features

  • Applies artistic styles and personas to faces
  • Generates multiple output images per request
  • Preserves background or outfit selectively
  • Adjustable safety filters and aspect ratios
  • Seed-based reproducible outputs

Use Cases

  • Creating character avatars
  • Generating artistic portrait variations
  • Style transfer for personal photos
  • Content creation for games/social media

⚙️Input Parameters

input_image

string

Image of the person to transform. Must be jpeg, png, gif, or webp.

style

string

The artistic style to apply to the image

persona

string

The persona to apply to the image

num_images

integer

The number of images to generate

preserve_background

boolean

Whether to preserve the background

preserve_outfit

boolean

Whether to preserve the outfit

aspect_ratio

string

Aspect ratio of the generated image. Use 'match_input_image' to match the aspect ratio of the input image.

seed

integer

Random seed. Set for reproducible generation

output_format

string

Output format for the generated image

safety_tolerance

integer

Safety tolerance, 0 is most strict and 2 is most permissive. 2 is currently the maximum allowed.

💡Usage Examples

Example 1

Input Parameters

{
  "style": "Random",
  "persona": "Random",
  "num_images": 4,
  "input_image": "https://replicate.delivery/pbxt/N8KC2KGavScnXZVX046XzXD0p4vrFrKb1BiGy6OBxdvJv1AE/replicate-prediction-f2d25rg6gnrma0cq257vdw2n4c.png",
  "aspect_ratio": "match_input_image",
  "output_format": "png",
  "preserve_outfit": false,
  "safety_tolerance": 2,
  "preserve_background": false
}

Output Results

https://replicate.delivery/xezq/gLpTuQk65wLwJ9PgusznzT8BeIeaAMDLrQUf5JExMwCvapnpA/tmpxgclxpi6.png
https://replicate.delivery/xezq/OwL9ko2yXcI5B1WtTeRovEBfI12FBaeDirdYrw9fSF9d1SPTB/tmpnu0p56oh.png
https://replicate.delivery/xezq/i5e6ITSrb3V8SipW0sUJreUE7IfRUp6UXwB2plXqeqKd1SPTB/tmpnfhodlcd.png
https://replicate.delivery/xezq/VEXepkCQqerg1UTogaLh12PBf7G4cpYpiCSpNLCxIUrvapnpA/tmpndi8cf9i.png