Image-to-Image Portrait with Cartoon Doodles

Image-to-Image Portrait with Cartoon Doodles

prompt

{ "input_type": "image_to_image", "reference_image": "UPLOAD_IMAGE_HERE", "prompt": "Take the uploaded image and perfectly preserve the person's face and features. Create a hyper-realistic indoor portrait of the same person sitting at a table, holding a cup of coffee, resting her face on her hand. Add playful hand-drawn cartoon doodles: an excited orange cat jumping next to her, whimsical cat ears on her head, and small floating stars and hearts around. Warm, cozy indoor lighting, soft-focus background, ultra-realistic skin textures, cinematic quality, high-definition.", "negative_prompt": "blurry, distorted face, low resolution, extra limbs, text, watermark, logo, unnatural colors, unnatural pose", "guidance_scale": 7.5, "steps": 25, "size": "1024x1024" }

Funciona em 21 modelos

  • Flux
  • Flux 2
  • Flux Kontext
  • GPT-4o Image
  • GPT Image
  • GPT Image 2
  • GPT Image 2.5
  • GPT Image 2.6
  • Grok Imagine
  • Ideogram V3
  • Imagen 4
  • Kling
  • +9 Mais

O que este prompt produz

The Gospel of Steel Não especificado Não especificado
A bouquet of cruelty Não especificado Não especificado
Seedream 5 prompt: Create an extremely breathtakingly beautiful image... Não especificado seedream-5-pro
Nano Banana prompt: Create an extremely breathtakingly beautiful image... Não especificado nano-banana-2.1
Nano Banana prompt: Não especificado nano-banana-2.1
Hunyuan  prompt: vela Não especificado hunyuan-3

Run este prompt com o API

A solicitação abaixo envia esse prompt, com seus valores padrão preenchidos, para o primeiro modelo em que é executado. Troque o nome do modelo por qualquer outro modelo listado acima.

Documentação da prompt API
/api/v1/nano_banana/text_to_image
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "nano-banana-pro",
  "prompt": "{\n  \"input_type\": \"image_to_image\",\n  \"reference_image\": \"UPLOAD_IMAGE_HERE\",\n  \"prompt\": \"Take the uploaded image and perfectly preserve the person's face and features. Create a hyper-realistic indoor portrait of the same person sitting at a table, holding a cup of coffee, resting her face on her hand. Add playful hand-drawn cartoon doodles: an excited orange cat jumping next to her, whimsical cat ears on her head, and small floating stars and hearts around. Warm, cozy indoor lighting, soft-focus background, ultra-realistic skin textures, cinematic quality, high-definition.\",\n  \"negative_prompt\": \"blurry, distorted face, low resolution, extra limbs, text, watermark, logo, unnatural colors, unnatural pose\",\n  \"guidance_scale\": 7.5,\n  \"steps\": 25,\n  \"size\": \"1024x1024\"\n}"
}
JSON

Experimentar a prompt