1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
curl -X POST \
-H "Authorization: Bearer $EACHLABS_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"model": "ideogram-v4-5-edit",
"input": {
"prompt": "Use the first uploaded image as the woman and fully preserve her face, facial features, skin tone, eye color, hair color, hairstyle, body proportions and her exact outfit, including all clothing items, colors, fabrics, patterns, shoes and accessories, exactly as in the reference. Do not change or add any clothing. Use the second uploaded image as the eyeglasses and preserve the exact frame shape, color, material, thickness and design details of the glasses.\n\nUltra-realistic high-end fashion editorial photo of the woman wearing the eyeglasses, standing on a sunlit cobblestone street in a charming European city with elegant cream stone buildings, small shopfronts and balconies softly blurred in the background. She poses confidently in a relaxed fashion stance, body slightly angled, one hand lightly touching the side of the glasses frame, looking into the camera with a subtle, self-assured smile. The glasses sit naturally and perfectly on her face, correctly sized and aligned, with both temple arms resting over her ears.\n\nThree-quarter body shot, shot on an 85mm lens at eye level, shallow depth of field, soft natural daylight with gentle highlights on the frame, clean and refined color grading, sharp focus on her face and the eyeglasses, realistic skin texture and detailed frame materials, luxury eyewear campaign aesthetic, 8K quality, no logos or text.",
"quality": "high",
"image_url": "https://cdn-us.eachlabs.ai/defaults/84a44c125f4442f4b549c544b5297320.png",
"image_size": "auto",
"num_images": 1,
"reference_image_urls": [
"https://cdn-us.eachlabs.ai/defaults/48c5c706a82b40b8a66c441b81da456d.png"
]
},
"webhook_url": ""
}' \
https://api.eachlabs.ai/v1/prediction/