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())

翻译: Runs on 21 models

  • 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 more

此 prompt 的输出

Seedream 5 prompt: short haired brunette, big dimples, striking, big 未指定 v2
Seedream 5 prompt: Add some razorpicks and make the stubbles smaller 未指定 v2
Nano Banana prompt: maakt een hyperrealist zachte airbrush achtige 
po... 未指定 nano-banana-2.1
FLUX prompt: Style: Saturated vintage film photography, grainy ... 未指定 flux-2-pro
Hunyuan  prompt: hero 未指定 hunyuan-3
Nano Banana prompt: maakt een hyperrealist zachte airbrush achtige 
po... 未指定 nano-banana-2.1

翻译: Run this prompt with the API

翻译: The request below sends this prompt, with its default values filled in, to the first model it runs on. Swap the model name for any other model listed above.

翻译: Prompt API docs
/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

翻译: Try a prompt