Documentary Photo of African Village Scene

Documentary Photo of African Village Scene
Documentary Photo of African Village Scene

prompt

class ImageGenerator: def __init__(self): self.base_style = "Documentary Photography" self.lens_profile = "50mm prime lens" def generate_village_scene(self): prompt_config = { "subject": { "actor": "Young African woman", "attire": "patterned wrapper and headscarf", "action": "stirring a pot with a wooden spoon over a three-stone fire" }, "environment": { "location": "Lush rural African village", "elements": ["mud huts", "thatched roofs", "tall green trees"], "background": "children playing happily", "atmosphere": "clean natural environment" }, "technical_specs": { "lighting": "Natural sunlight", "fidelity": "Ultra-realistic, high detail", "style": self.base_style, "optics": self.lens_profile } } return prompt_config # Initialize the generator session = ImageGenerator() print(session.generate_village_scene())

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

Seedream 5 prompt: Add some razorpicks and make the stubbles smaller Não especificado v2
Nano Banana prompt: maakt een hyperrealist zachte airbrush achtige 
po... Não especificado nano-banana-2.1
FLUX prompt: Style: Saturated vintage film photography, grainy ... Não especificado flux-2-pro
Hunyuan  prompt: hero Não especificado hunyuan-3
Nano Banana prompt: maakt een hyperrealist zachte airbrush achtige 
po... Não especificado nano-banana-2.1
Seedream 5 prompt: korean girl Não especificado v2

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": "class ImageGenerator:\n    def __init__(self):\n        self.base_style = \"Documentary Photography\"\n        self.lens_profile = \"50mm prime lens\"\n\n    def generate_village_scene(self):\n        prompt_config = {\n            \"subject\": {\n                \"actor\": \"Young African woman\",\n                \"attire\": \"patterned wrapper and headscarf\",\n                \"action\": \"stirring a pot with a wooden spoon over a three-stone fire\"\n            },\n            \"environment\": {\n                \"location\": \"Lush rural African village\",\n                \"elements\": [\"mud huts\", \"thatched roofs\", \"tall green trees\"],\n                \"background\": \"children playing happily\",\n                \"atmosphere\": \"clean natural environment\"\n            },\n            \"technical_specs\": {\n                \"lighting\": \"Natural sunlight\",\n                \"fidelity\": \"Ultra-realistic, high detail\",\n                \"style\": self.base_style,\n                \"optics\": self.lens_profile\n            }\n        }\n        return prompt_config\n\n# Initialize the generator\nsession = ImageGenerator()\nprint(session.generate_village_scene())"
}
JSON

Experimentar a prompt