Photomaker
Generate styled photos while preserving identity from input images. Upload 1-4 reference photos and apply artistic style presets to create unique identity-preserving artwork.
Quick Start
Requires an each::labs API key. Get one at eachlabs.ai.
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "photomaker-style",
"version": "0.0.1",
"input": {
"prompt": "A photo of a person img in a neon-lit cyberpunk city",
"input_image": "https://example.com/face-photo.jpg",
"style_name": "Neonpunk",
"num_steps": 20,
"guidance_scale": 5
}
}'
Parameters
| Parameter |
Type |
Default |
Description |
| disable_safety_checker |
boolean |
false |
Disable safety checker |
| guidance_scale |
number |
5 |
Guidance scale. 1 corresponds to no classifier free guidance |
| input_image |
string |
- |
Input image (e.g., a photo of your face) |
| input_image2 |
string |
- |
Additional input image (optional) |
| input_image3 |
string |
- |
Additional input image (optional) |
| input_image4 |
string |
- |
Additional input image (optional) |
| negative_prompt |
string |
nsfw, lowres, bad anatomy, bad hands, text... |
Negative prompt (should NOT contain the trigger word) |
| num_outputs |
integer |
1 |
Number of output images |
| num_steps |
integer |
20 |
Number of sample steps |
| prompt |
string |
A photo of a person img |
Prompt. Use 'img' as the trigger word |
| seed |
integer |
- |
Seed. Leave blank for random |
| style_name |
string |
(No style) |
Style preset. enum: (No style), Cinematic, Disney Charactor, Digital Art, Photographic (Default), Fantasy art, Neonpunk, Enhance, Comic book, Lowpoly, Line art |
| style_strength_ratio |
number |
20 |
Style strength (%) |
Examples
Comic book style:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "photomaker-style",
"version": "0.0.1",
"input": {
"prompt": "A comic book hero version of a person img fighting villains in a city",
"input_image": "https://example.com/headshot.jpg",
"style_name": "Comic book",
"style_strength_ratio": 35,
"num_outputs": 2,
"guidance_scale": 6,
"seed": 42
}
}'
Disney character style:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "photomaker-style",
"version": "0.0.1",
"input": {
"prompt": "A Disney character version of a person img in an enchanted forest",
"input_image": "https://example.com/portrait.jpg",
"input_image2": "https://example.com/portrait-side.jpg",
"style_name": "Disney Charactor",
"style_strength_ratio": 30,
"num_steps": 25
}
}'
Related Models
Documentation
1---2name: photomaker-style3description: Photomaker | Style-Focused Identity Photo Generation. Generate styled photos while preserving identity with artistic presets. Triggers: photomaker style, styled photo, identity style, artistic portrait, styled identity4---56# Photomaker78Generate styled photos while preserving identity from input images. Upload 1-4 reference photos and apply artistic style presets to create unique identity-preserving artwork.910## Quick Start1112> Requires an each::labs API key. Get one at [eachlabs.ai](https://eachlabs.ai).1314```bash15curl -X POST https://api.eachlabs.ai/v1/prediction \16 -H "Content-Type: application/json" \17 -H "X-API-Key: $EACHLABS_API_KEY" \18 -d '{19 "model": "photomaker-style",20 "version": "0.0.1",21 "input": {22 "prompt": "A photo of a person img in a neon-lit cyberpunk city",23 "input_image": "https://example.com/face-photo.jpg",24 "style_name": "Neonpunk",25 "num_steps": 20,26 "guidance_scale": 527 }28 }'29```3031## Parameters3233| Parameter | Type | Default | Description |34|-----------|------|---------|-------------|35| disable_safety_checker | boolean | false | Disable safety checker |36| guidance_scale | number | 5 | Guidance scale. 1 corresponds to no classifier free guidance |37| input_image | string | - | Input image (e.g., a photo of your face) |38| input_image2 | string | - | Additional input image (optional) |39| input_image3 | string | - | Additional input image (optional) |40| input_image4 | string | - | Additional input image (optional) |41| negative_prompt | string | nsfw, lowres, bad anatomy, bad hands, text... | Negative prompt (should NOT contain the trigger word) |42| num_outputs | integer | 1 | Number of output images |43| num_steps | integer | 20 | Number of sample steps |44| prompt | string | A photo of a person img | Prompt. Use 'img' as the trigger word |45| seed | integer | - | Seed. Leave blank for random |46| style_name | string | (No style) | Style preset. enum: (No style), Cinematic, Disney Charactor, Digital Art, Photographic (Default), Fantasy art, Neonpunk, Enhance, Comic book, Lowpoly, Line art |47| style_strength_ratio | number | 20 | Style strength (%) |4849## Examples5051**Comic book style:**52```bash53curl -X POST https://api.eachlabs.ai/v1/prediction \54 -H "Content-Type: application/json" \55 -H "X-API-Key: $EACHLABS_API_KEY" \56 -d '{57 "model": "photomaker-style",58 "version": "0.0.1",59 "input": {60 "prompt": "A comic book hero version of a person img fighting villains in a city",61 "input_image": "https://example.com/headshot.jpg",62 "style_name": "Comic book",63 "style_strength_ratio": 35,64 "num_outputs": 2,65 "guidance_scale": 6,66 "seed": 4267 }68 }'69```7071**Disney character style:**72```bash73curl -X POST https://api.eachlabs.ai/v1/prediction \74 -H "Content-Type: application/json" \75 -H "X-API-Key: $EACHLABS_API_KEY" \76 -d '{77 "model": "photomaker-style",78 "version": "0.0.1",79 "input": {80 "prompt": "A Disney character version of a person img in an enchanted forest",81 "input_image": "https://example.com/portrait.jpg",82 "input_image2": "https://example.com/portrait-side.jpg",83 "style_name": "Disney Charactor",84 "style_strength_ratio": 30,85 "num_steps": 2586 }87 }'88```8990## Related Models9192- [photomaker](../photomaker/) - Photomaker with photographic focus93- [instant-id-ip-adapter](../instant-id-ip-adapter/) - Anime and styled avatar generation94- [cartoonify](../cartoonify/) - Photo to cartoon transformation9596## Documentation9798- [each::labs Docs](https://docs.eachlabs.ai)99- [API Reference](https://docs.eachlabs.ai/api/overview)