# Gen4 Image turbo > Generate high-resolution images up to 1080p with reference-based consistency, ideal for creative projects requiring strong identity and scene coherence. ## Overview - **Model ID**: `gen4_image_turbo` - **Category**: image - **Provider**: runway_ml - **Status**: model_ready - **Screenshot**: `https://assets.modelslab.com/generations/fce12230-39c7-461e-b737-3cc03b243f98.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/image-to-image` - **Method**: POST ### Parameters - **`prompt`** (required): The text prompt for the type of image you want to generate - Type: textarea - **`init_image`** (required): Upload your image - Type: file - **`init_image_2`** (required): Upload your image - Type: file - **`model_id`** (optional): Models ID - Type: text ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v7/images/image-to-image \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "gen4_image_turbo", "prompt": "A 24-year-old girl and a 24-year-old boy smiling together, sitting casually on the bonnet of a vintage car in an outdoor setting with some people visible in the background. The girl is wearing a t-shirt with the text “Gen 4 image turbo” written on it. The boy is wearing a different color t-shirt (not white) with the word “Models” in bold blue text and “Lab” in bold white text. Bright natural daylight, cinematic photography style, realistic skin tones, natural happy expressions, crisp details, high quality.", "init_image": "https://pub-3626123a908346a7a8be8d9295f44e26.r2.dev/generations/3feb43ab-ea3a-4c5e-9a74-8a18523edb5a.png", "init_image_2": "https://pub-3626123a908346a7a8be8d9295f44e26.r2.dev/generations/823b4e53-9434-4fdf-928c-ff7f082fde99.png" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v7/images/image-to-image", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "gen4_image_turbo", "prompt": "A 24-year-old girl and a 24-year-old boy smiling together, sitting casually on the bonnet of a vintage car in an outdoor setting with some people visible in the background. The girl is wearing a t-shirt with the text “Gen 4 image turbo” written on it. The boy is wearing a different color t-shirt (not white) with the word “Models” in bold blue text and “Lab” in bold white text. Bright natural daylight, cinematic photography style, realistic skin tones, natural happy expressions, crisp details, high quality.", "init_image": "https://pub-3626123a908346a7a8be8d9295f44e26.r2.dev/generations/3feb43ab-ea3a-4c5e-9a74-8a18523edb5a.png", "init_image_2": "https://pub-3626123a908346a7a8be8d9295f44e26.r2.dev/generations/823b4e53-9434-4fdf-928c-ff7f082fde99.png" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v7/images/image-to-image", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "gen4_image_turbo", "prompt": "A 24-year-old girl and a 24-year-old boy smiling together, sitting casually on the bonnet of a vintage car in an outdoor setting with some people visible in the background. The girl is wearing a t-shirt with the text “Gen 4 image turbo” written on it. The boy is wearing a different color t-shirt (not white) with the word “Models” in bold blue text and “Lab” in bold white text. Bright natural daylight, cinematic photography style, realistic skin tones, natural happy expressions, crisp details, high quality.", "init_image": "https://pub-3626123a908346a7a8be8d9295f44e26.r2.dev/generations/3feb43ab-ea3a-4c5e-9a74-8a18523edb5a.png", "init_image_2": "https://pub-3626123a908346a7a8be8d9295f44e26.r2.dev/generations/823b4e53-9434-4fdf-928c-ff7f082fde99.png" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/gen4_image_turbo/gen4_image_turbo) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)