
Dự Đoán Em Bé Tương Lai Bằng AI Với GPT-image-2 — Xem Con Bạn Có Thể Trông Như Thế Nào
Dự Đoán Em Bé Tương Lai Bằng AI Với GPT-image-2 — Xem Con Bạn Có Thể Trông Như Thế Nào#
"Con của mình sau này sẽ trông như thế nào?" — gần như cặp đôi nào cũng từng hỏi câu đó. Giờ đây GPT-image-2 có thể tạo ra những dự đoán khá chân thực bằng cách kết hợp các đặc điểm của bố mẹ thành một bức chân dung em bé đáng yêu.
Xu hướng này đã viral trên TikTok và Instagram, khi các cặp đôi chia sẻ hình ảnh em bé do AI dự đoán. Kết quả vừa dễ thương, dễ chia sẻ, vừa thuyết phục một cách đáng ngạc nhiên.
Đây là Phần 5 trong chuỗi bài viết về GPT-image-2.
Xem Trước Kết Quả#

Một em bé mang vẻ đẹp lai giữa nét Đông Á và châu Âu — ánh sáng tự nhiên, phong cách chụp chân dung chuyên nghiệp. Nhìn rất giống một bức ảnh thật.
Mã Nguồn Đầy Đủ#
Python#
from openai import OpenAI
client = OpenAI(
api_key="your-crazyrouter-api-key",
base_url="https://crazyrouter.com/v1"
)
# Describe both parents' features
parent_a = {
"ethnicity": "East Asian",
"features": "dark brown eyes, straight black hair, round face, small nose"
}
parent_b = {
"ethnicity": "Northern European",
"features": "blue eyes, wavy light brown hair, oval face, high nose bridge"
}
baby_prompt = f"""
A professional portrait photo of an adorable 1-year-old baby.
The baby is a natural blend of two parents:
- Parent A: {parent_a['ethnicity']} — {parent_a['features']}
- Parent B: {parent_b['ethnicity']} — {parent_b['features']}
The baby should have a natural, realistic blend of both parents' features.
Possible traits: light brown eyes, slightly wavy dark brown hair,
medium nose bridge, mixed facial structure.
Setting: natural soft window light, clean white/cream background.
Style: professional baby portrait photography, 85mm lens,
shallow depth of field, warm tones.
The baby is smiling gently, wearing a simple white onesie.
Photorealistic. No text, no watermark.
"""
response = client.images.generate(
model="gpt-image-2",
prompt=baby_prompt,
size="1024x1024",
n=1
)
print(f"Baby prediction: {response.data[0].url}")
curl#
curl -X POST https://crazyrouter.com/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-crazyrouter-api-key" \
-d '{
"model": "gpt-image-2",
"prompt": "Professional portrait photo of an adorable 1-year-old baby. Natural blend of East Asian and Northern European features: light brown eyes, slightly wavy dark brown hair, medium nose bridge. Soft window light, cream background. Baby portrait photography, 85mm lens, shallow depth of field, warm tones. Baby smiling in white onesie. Photorealistic. No text.",
"size": "1024x1024",
"n": 1
}'
Node.js#
import OpenAI from "openai";
const client = new OpenAI({
apiKey: "your-crazyrouter-api-key",
baseURL: "https://crazyrouter.com/v1",
});
const response = await client.images.generate({
model: "gpt-image-2",
prompt: `Professional portrait of an adorable 1-year-old baby.
Natural blend of East Asian and Northern European features.
Light brown eyes, slightly wavy dark brown hair, medium nose bridge.
Soft window light, cream background, baby portrait photography.
85mm lens, shallow depth of field, warm tones.
Baby smiling in white onesie. Photorealistic. No text.`,
size: "1024x1024",
n: 1,
});
console.log(response.data[0].url);
Mẫu Kết Hợp Đặc Điểm#
Dưới đây là một số tổ hợp đặc điểm bố mẹ có thể dùng ngay:
Đông Á × Đông Á#
Parent A: round face, single eyelids, straight black hair, small nose
Parent B: oval face, double eyelids, dark brown hair, defined cheekbones
Baby traits: almond eyes, soft black hair, balanced facial features
Đông Á × Châu Phi#
Parent A: dark brown eyes, straight black hair, round face
Parent B: dark brown eyes, curly black hair, strong jawline, full lips
Baby traits: warm brown skin, wavy dark hair, expressive dark eyes
Châu Âu × Mỹ Latinh#
Parent A: blue eyes, blonde hair, fair skin, narrow face
Parent B: brown eyes, dark wavy hair, olive skin, full lips
Baby traits: hazel eyes, light brown wavy hair, warm skin tone
Nam Á × Châu Âu#
Parent A: dark brown eyes, black hair, warm brown skin, strong brows
Parent B: green eyes, auburn hair, fair skin, freckles
Baby traits: light brown eyes, dark brown wavy hair, medium skin tone
Tạo Ảnh Ở Nhiều Độ Tuổi#
Xem em bé có thể trông như thế nào ở các độ tuổi khác nhau:
ages = [
("newborn", "a sleeping newborn baby wrapped in a white blanket"),
("1 year", "a smiling 1-year-old baby sitting up"),
("3 years", "a cheerful 3-year-old toddler playing"),
("5 years", "a happy 5-year-old child laughing"),
]
features = "blend of East Asian and European features, light brown eyes, wavy dark hair"
for age, description in ages:
response = client.images.generate(
model="gpt-image-2",
prompt=f"Professional portrait of {description}. {features}. "
f"Natural soft lighting, clean background. Photorealistic. No text.",
size="1024x1024",
n=1
)
print(f"Age {age}: {response.data[0].url}")
Mẹo Viết Prompt#
- Mô tả đặc điểm thật cụ thể —
light brown eyeshiệu quả hơnmixed eyes - Mô tả cách pha trộn — đừng chỉ liệt kê đặc điểm của bố mẹ, hãy mô tả kết quả bạn kỳ vọng
- Từ khóa nhiếp ảnh rất quan trọng —
85mm lens, shallow depth of field, natural lightgiúp tăng độ chân thực rõ rệt - Thêm
Photorealistic. No text.— giúp tránh đầu ra bị hoạt hình hoặc xuất hiện chữ thừa
Lưu Ý#
Dự đoán em bé bằng AI chỉ mang tính giải trí. Di truyền học phức tạp hơn rất nhiều so với việc trộn các đặc điểm ngoại hình nhìn thấy được. Kết quả không phản ánh kết quả di truyền thực tế. Hãy sử dụng một cách có trách nhiệm và tôn trọng quyền riêng tư.
Chi Phí#
| Hạng mục | Chi phí (qua Crazyrouter) |
|---|---|
| 1 ảnh chân dung em bé | ~$0.04–0.08 |
| Bộ 4 độ tuổi | ~$0.20–0.32 |
🚀 Crazyrouter — Một API key, hơn 600 mô hình. GPT-image-2, GPT-5.5, Claude Opus 4.7, DeepSeek V4 và nhiều hơn nữa.


