Documentary Photo of African Village Scene

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

즉각적인

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

21 모델에서 실행됩니다.

  • 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 이상

이 프롬프트의 출력

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
Seedream 5 prompt: korean girl 지정되지 않음 v2

API를 사용하여 이 프롬프트를 실행하세요.

아래 요청은 기본값이 채워진 이 프롬프트를 실행되는 첫 번째 모델로 보냅니다. 위에 나열된 다른 모델의 모델 이름을 바꾸십시오.

프롬프트 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

메시지를 보내보세요