# Imagen 3 Generate 001 > Photorealistic text-to-image generator producing high-resolution images up to 2048px with fine compositional control, multi-subject scenes, and diverse styles including macro, telephoto, and wide-angle effects. ## Overview - **Model ID**: `imagen-3.0-generate-001` - **Category**: image - **Provider**: google - **Status**: model_ready - **Screenshot**: `https://pub-3626123a908346a7a8be8d9295f44e26.r2.dev/livewire-tmp/us5gUqiCuyEpVMCJMlHJgFa7aaonYP-metaaW1hZ2VuLTMtZ2VuZXJhdGUtMDAxWzFdLndlYnA=-.webp` ## API Information This model can be used via our HTTP API. See the API documentation and usage examples below. ### Endpoint - **URL**: `https://modelslab.com/api/v7/images/text-to-image` - **Method**: POST ### Parameters - **`prompt`** (required): prompt - Type: textarea - **`aspect_ratio`** (required): t tells you the shape of an image by comparing its width to its height. For example, 1:1 is square, 3:4 and 4:3 are slightly tall or wide, 9:16 is vertical, and 16:9 is wide - Type: select (options: 1:1, 3:4, 4:3, 9:16, 16:9) ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v7/images/text-to-image \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "imagen-3.0-generate-001", "prompt": "Ultra-realistic cinematic scene of a futuristic city at sunset, golden light reflecting off glass skyscrapers, flying cars in the sky, detailed street life below, 8K resolution, perfect lighting, photorealism.", "aspect_ratio": "1:1" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v7/images/text-to-image", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "imagen-3.0-generate-001", "prompt": "Ultra-realistic cinematic scene of a futuristic city at sunset, golden light reflecting off glass skyscrapers, flying cars in the sky, detailed street life below, 8K resolution, perfect lighting, photorealism.", "aspect_ratio": "1:1" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v7/images/text-to-image", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "imagen-3.0-generate-001", "prompt": "Ultra-realistic cinematic scene of a futuristic city at sunset, golden light reflecting off glass skyscrapers, flying cars in the sky, detailed street life below, 8K resolution, perfect lighting, photorealism.", "aspect_ratio": "1:1" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/imagen-3.0-generate-001/imagen-3.0-generate-001) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)