Create an ultra-photorealistic cinematic portrait of a man viewed from a slightly low angle looking upward with a confident, powerful expression. Generate his face using the uploaded portrait photo. The composition is a tight upper-body portrait with the head tilted slightly upward, emphasizing the jawline and beard structure. The background is a smooth vibrant studio gradient transitioning between deep orange and warm red tones, creating a dramatic modern aesthetic. Use strong cinematic dual-color lighting: warm red/orange light from one side and cool teal/blue rim lighting from the opposite side to create striking contrast across the face and beard. The man is wearing a futuristic white oversized puffer jacket with large quilted sections and a high protective collar. The jacket should look premium and modern with realistic fabric folds, padded insulation volume, and subtle material sheen similar to high-end technical winter fashion. Add extremely detailed textures: visible skin pores, beard hair strands, subtle facial imperfections, realistic lip texture, micro skin reflections, and detailed hair follicles. The sunglasses should have thin metal frames with realistic reflections and slightly tinted lenses reflecting the colored lighting. The white puffer jacket must show detailed stitching, fabric grain, padded segments, and realistic light interaction across the material. Lighting should create soft shadows, strong color contrast, and dramatic highlights across the face, beard, glasses, and jacket. Maintain sharp focus on the subject with studio-quality depth and clarity. Ultra photorealistic portrait photography, cinematic studio lighting, hyper- detailed textures, 8K detail, premium editorial fashion portrait, extremely realistic skin and fabric materials. Add a subtle handwritten text in the bottom-right corner that reads "Created by Naik", elegant fashion-editorial signature style, thin white ink, slightly transparent, like a photographer's signature on a luxury magazine shoot.
gpt-image-2/api/v1/gpt_image_2/text_to_image
运行信息
模型
gpt-image-2
提供方
OpenAI
服务
Gpt Image 2
Endpoint
Text To Image
1. claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
2. 重启 Claude Code
3. 粘贴这个 prompt:生成一张图像:"Create an ultra-photorealistic cinematic portrait of a man viewed from a slightly low angle looking upward with a confident, powerful expression. Generate his face using the uploaded portrait photo. The composition is a tight upper-body portrait with the head tilted slightly upward, emphasizing the jawline and beard structure. The background is a smooth vibrant studio gradient transitioning between deep orange and warm red tones, creating a dramatic modern aesthetic. Use strong cinematic dual-color lighting: warm red/orange light from one side and cool teal/blue rim lighting from the opposite side to create striking contrast across the face and beard. The man is wearing a futuristic white oversized puffer jacket with large quilted sections and a high protective collar. The jacket should look premium and modern with realistic fabric folds, padded insulation volume, and subtle material sheen similar to high-end technical winter fashion. Add extremely detailed textures: visible skin pores, beard hair strands, subtle facial imperfections, realistic lip texture, micro skin reflections, and detailed hair follicles. The sunglasses should have thin metal frames with realistic reflections and slightly tinted lenses reflecting the colored lighting. The white puffer jacket must show detailed stitching, fabric grain, padded segments, and realistic light interaction across the material. Lighting should create soft shadows, strong color contrast, and dramatic highlights across the face, beard, glasses, and jacket. Maintain sharp focus on the subject with studio-quality depth and clarity. Ultra photorealistic portrait photography, cinematic studio lighting, hyper- detailed textures, 8K detail, premium editorial fashion portrait, extremely realistic skin and fabric materials. Add a subtle handwritten text in the bottom-right corner that reads "Created by Naik", elegant fashion-editorial signature style, thin white ink, slightly transparent, like a photographer's signature on a luxury magazine shoot."
1. codex plugin install runapi-mcp@agents
2. 重启 Codex
3. 粘贴这个 prompt:生成一张图像:"Create an ultra-photorealistic cinematic portrait of a man viewed from a slightly low angle looking upward with a confident, powerful expression. Generate his face using the uploaded portrait photo. The composition is a tight upper-body portrait with the head tilted slightly upward, emphasizing the jawline and beard structure. The background is a smooth vibrant studio gradient transitioning between deep orange and warm red tones, creating a dramatic modern aesthetic. Use strong cinematic dual-color lighting: warm red/orange light from one side and cool teal/blue rim lighting from the opposite side to create striking contrast across the face and beard. The man is wearing a futuristic white oversized puffer jacket with large quilted sections and a high protective collar. The jacket should look premium and modern with realistic fabric folds, padded insulation volume, and subtle material sheen similar to high-end technical winter fashion. Add extremely detailed textures: visible skin pores, beard hair strands, subtle facial imperfections, realistic lip texture, micro skin reflections, and detailed hair follicles. The sunglasses should have thin metal frames with realistic reflections and slightly tinted lenses reflecting the colored lighting. The white puffer jacket must show detailed stitching, fabric grain, padded segments, and realistic light interaction across the material. Lighting should create soft shadows, strong color contrast, and dramatic highlights across the face, beard, glasses, and jacket. Maintain sharp focus on the subject with studio-quality depth and clarity. Ultra photorealistic portrait photography, cinematic studio lighting, hyper- detailed textures, 8K detail, premium editorial fashion portrait, extremely realistic skin and fabric materials. Add a subtle handwritten text in the bottom-right corner that reads "Created by Naik", elegant fashion-editorial signature style, thin white ink, slightly transparent, like a photographer's signature on a luxury magazine shoot."
1. npx @runapi.ai/mcp init cursor
2. 重启 Cursor
3. 粘贴这个 prompt:生成一张图像:"Create an ultra-photorealistic cinematic portrait of a man viewed from a slightly low angle looking upward with a confident, powerful expression. Generate his face using the uploaded portrait photo. The composition is a tight upper-body portrait with the head tilted slightly upward, emphasizing the jawline and beard structure. The background is a smooth vibrant studio gradient transitioning between deep orange and warm red tones, creating a dramatic modern aesthetic. Use strong cinematic dual-color lighting: warm red/orange light from one side and cool teal/blue rim lighting from the opposite side to create striking contrast across the face and beard. The man is wearing a futuristic white oversized puffer jacket with large quilted sections and a high protective collar. The jacket should look premium and modern with realistic fabric folds, padded insulation volume, and subtle material sheen similar to high-end technical winter fashion. Add extremely detailed textures: visible skin pores, beard hair strands, subtle facial imperfections, realistic lip texture, micro skin reflections, and detailed hair follicles. The sunglasses should have thin metal frames with realistic reflections and slightly tinted lenses reflecting the colored lighting. The white puffer jacket must show detailed stitching, fabric grain, padded segments, and realistic light interaction across the material. Lighting should create soft shadows, strong color contrast, and dramatic highlights across the face, beard, glasses, and jacket. Maintain sharp focus on the subject with studio-quality depth and clarity. Ultra photorealistic portrait photography, cinematic studio lighting, hyper- detailed textures, 8K detail, premium editorial fashion portrait, extremely realistic skin and fabric materials. Add a subtle handwritten text in the bottom-right corner that reads "Created by Naik", elegant fashion-editorial signature style, thin white ink, slightly transparent, like a photographer's signature on a luxury magazine shoot."
1. npx @runapi.ai/mcp init windsurf
2. 重启 Windsurf
3. 粘贴这个 prompt:生成一张图像:"Create an ultra-photorealistic cinematic portrait of a man viewed from a slightly low angle looking upward with a confident, powerful expression. Generate his face using the uploaded portrait photo. The composition is a tight upper-body portrait with the head tilted slightly upward, emphasizing the jawline and beard structure. The background is a smooth vibrant studio gradient transitioning between deep orange and warm red tones, creating a dramatic modern aesthetic. Use strong cinematic dual-color lighting: warm red/orange light from one side and cool teal/blue rim lighting from the opposite side to create striking contrast across the face and beard. The man is wearing a futuristic white oversized puffer jacket with large quilted sections and a high protective collar. The jacket should look premium and modern with realistic fabric folds, padded insulation volume, and subtle material sheen similar to high-end technical winter fashion. Add extremely detailed textures: visible skin pores, beard hair strands, subtle facial imperfections, realistic lip texture, micro skin reflections, and detailed hair follicles. The sunglasses should have thin metal frames with realistic reflections and slightly tinted lenses reflecting the colored lighting. The white puffer jacket must show detailed stitching, fabric grain, padded segments, and realistic light interaction across the material. Lighting should create soft shadows, strong color contrast, and dramatic highlights across the face, beard, glasses, and jacket. Maintain sharp focus on the subject with studio-quality depth and clarity. Ultra photorealistic portrait photography, cinematic studio lighting, hyper- detailed textures, 8K detail, premium editorial fashion portrait, extremely realistic skin and fabric materials. Add a subtle handwritten text in the bottom-right corner that reads "Created by Naik", elegant fashion-editorial signature style, thin white ink, slightly transparent, like a photographer's signature on a luxury magazine shoot."
curl -X POST https://runapi.ai/api/v1/gpt_image_2/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "gpt-image-2",
"prompt": "Create an ultra-photorealistic cinematic portrait of a man viewed from a slightly low angle looking upward with a confident, powerful expression. Generate his face using the uploaded portrait photo. The composition is a tight upper-body portrait with the head tilted slightly upward, emphasizing the jawline and beard structure. The background is a smooth vibrant studio gradient transitioning between deep orange and warm red tones, creating a dramatic modern aesthetic. Use strong cinematic dual-color lighting: warm red/orange light from one side and cool teal/blue rim lighting from the opposite side to create striking contrast across the face and beard. The man is wearing a futuristic white oversized puffer jacket with large quilted sections and a high protective collar. The jacket should look premium and modern with realistic fabric folds, padded insulation volume, and subtle material sheen similar to high-end technical winter fashion. Add extremely detailed textures: visible skin pores, beard hair strands, subtle facial imperfections, realistic lip texture, micro skin reflections, and detailed hair follicles. The sunglasses should have thin metal frames with realistic reflections and slightly tinted lenses reflecting the colored lighting. The white puffer jacket must show detailed stitching, fabric grain, padded segments, and realistic light interaction across the material. Lighting should create soft shadows, strong color contrast, and dramatic highlights across the face, beard, glasses, and jacket. Maintain sharp focus on the subject with studio-quality depth and clarity. Ultra photorealistic portrait photography, cinematic studio lighting, hyper- detailed textures, 8K detail, premium editorial fashion portrait, extremely realistic skin and fabric materials. Add a subtle handwritten text in the bottom-right corner that reads \"Created by Naik\", elegant fashion-editorial signature style, thin white ink, slightly transparent, like a photographer's signature on a luxury magazine shoot."
}
JSON
import { GptImage2Client } from "@runapi.ai/gpt-image-2";
const client = new GptImage2Client({
apiKey: process.env.RUNAPI_API_KEY,
});
const result = await client.textToImage.run({
"model": "gpt-image-2",
"prompt": "Create an ultra-photorealistic cinematic portrait of a man viewed from a slightly low angle looking upward with a confident, powerful expression. Generate his face using the uploaded portrait photo. The composition is a tight upper-body portrait with the head tilted slightly upward, emphasizing the jawline and beard structure. The background is a smooth vibrant studio gradient transitioning between deep orange and warm red tones, creating a dramatic modern aesthetic. Use strong cinematic dual-color lighting: warm red/orange light from one side and cool teal/blue rim lighting from the opposite side to create striking contrast across the face and beard. The man is wearing a futuristic white oversized puffer jacket with large quilted sections and a high protective collar. The jacket should look premium and modern with realistic fabric folds, padded insulation volume, and subtle material sheen similar to high-end technical winter fashion. Add extremely detailed textures: visible skin pores, beard hair strands, subtle facial imperfections, realistic lip texture, micro skin reflections, and detailed hair follicles. The sunglasses should have thin metal frames with realistic reflections and slightly tinted lenses reflecting the colored lighting. The white puffer jacket must show detailed stitching, fabric grain, padded segments, and realistic light interaction across the material. Lighting should create soft shadows, strong color contrast, and dramatic highlights across the face, beard, glasses, and jacket. Maintain sharp focus on the subject with studio-quality depth and clarity. Ultra photorealistic portrait photography, cinematic studio lighting, hyper- detailed textures, 8K detail, premium editorial fashion portrait, extremely realistic skin and fabric materials. Add a subtle handwritten text in the bottom-right corner that reads \"Created by Naik\", elegant fashion-editorial signature style, thin white ink, slightly transparent, like a photographer's signature on a luxury magazine shoot."
});
console.log(result.id);
require "runapi/gpt_image_2"
client = RunApi::GptImage2::Client.new
result = client.text_to_image.run(
model: "gpt-image-2",
prompt: "Create an ultra-photorealistic cinematic portrait of a man viewed from a slightly low angle looking upward with a confident, powerful expression. Generate his face using the uploaded portrait photo. The composition is a tight upper-body portrait with the head tilted slightly upward, emphasizing the jawline and beard structure. The background is a smooth vibrant studio gradient transitioning between deep orange and warm red tones, creating a dramatic modern aesthetic. Use strong cinematic dual-color lighting: warm red/orange light from one side and cool teal/blue rim lighting from the opposite side to create striking contrast across the face and beard. The man is wearing a futuristic white oversized puffer jacket with large quilted sections and a high protective collar. The jacket should look premium and modern with realistic fabric folds, padded insulation volume, and subtle material sheen similar to high-end technical winter fashion. Add extremely detailed textures: visible skin pores, beard hair strands, subtle facial imperfections, realistic lip texture, micro skin reflections, and detailed hair follicles. The sunglasses should have thin metal frames with realistic reflections and slightly tinted lenses reflecting the colored lighting. The white puffer jacket must show detailed stitching, fabric grain, padded segments, and realistic light interaction across the material. Lighting should create soft shadows, strong color contrast, and dramatic highlights across the face, beard, glasses, and jacket. Maintain sharp focus on the subject with studio-quality depth and clarity. Ultra photorealistic portrait photography, cinematic studio lighting, hyper- detailed textures, 8K detail, premium editorial fashion portrait, extremely realistic skin and fabric materials. Add a subtle handwritten text in the bottom-right corner that reads \"Created by Naik\", elegant fashion-editorial signature style, thin white ink, slightly transparent, like a photographer's signature on a luxury magazine shoot."
)
puts result.id
package main
import (
"context"
"fmt"
"log"
"net/http"
"os"
"strings"
)
func main() {
body := strings.NewReader("{\"model\":\"gpt-image-2\",\"prompt\":\"Create an ultra-photorealistic cinematic portrait of a man viewed from a slightly low angle looking upward with a confident, powerful expression. Generate his face using the uploaded portrait photo. The composition is a tight upper-body portrait with the head tilted slightly upward, emphasizing the jawline and beard structure. The background is a smooth vibrant studio gradient transitioning between deep orange and warm red tones, creating a dramatic modern aesthetic. Use strong cinematic dual-color lighting: warm red/orange light from one side and cool teal/blue rim lighting from the opposite side to create striking contrast across the face and beard. The man is wearing a futuristic white oversized puffer jacket with large quilted sections and a high protective collar. The jacket should look premium and modern with realistic fabric folds, padded insulation volume, and subtle material sheen similar to high-end technical winter fashion. Add extremely detailed textures: visible skin pores, beard hair strands, subtle facial imperfections, realistic lip texture, micro skin reflections, and detailed hair follicles. The sunglasses should have thin metal frames with realistic reflections and slightly tinted lenses reflecting the colored lighting. The white puffer jacket must show detailed stitching, fabric grain, padded segments, and realistic light interaction across the material. Lighting should create soft shadows, strong color contrast, and dramatic highlights across the face, beard, glasses, and jacket. Maintain sharp focus on the subject with studio-quality depth and clarity. Ultra photorealistic portrait photography, cinematic studio lighting, hyper- detailed textures, 8K detail, premium editorial fashion portrait, extremely realistic skin and fabric materials. Add a subtle handwritten text in the bottom-right corner that reads \\\"Created by Naik\\\", elegant fashion-editorial signature style, thin white ink, slightly transparent, like a photographer's signature on a luxury magazine shoot.\"}")
req, err := http.NewRequestWithContext(context.Background(), http.MethodPost, "https://runapi.ai/api/v1/gpt_image_2/text_to_image", body)
if err != nil {
log.Fatal(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("RUNAPI_API_KEY"))
req.Header.Set("Content-Type", "application/json")
resp, err := http.DefaultClient.Do(req)
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
fmt.Println(resp.Status)
}
gpt-image-2/api/v1/gpt_image_2/text_to_image获取 API Key
Low-angle fashion campaign photograph of a confident model holding a large [product name] very close to the camera, exaggerated perspective with the hand and product dominating the foreground, full-body pose visible in the background, wide stance, dynamic posture, clean pure white studio background, high-key lighting, sharp focus on product, slight depth of field on the model, bold colorful outfit with strong contrast tones, modern beauty advertising aesthetic, ultra-clean composition, commercial studio photography, glossy packaging detail visible, crisp shadows
curl -X POST https://runapi.ai/api/v1/gpt_image_2/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "gpt-image-2",
"prompt": "Low-angle fashion campaign photograph of a confident model holding a large [product name] very close to the camera, exaggerated perspective with the hand and product dominating the foreground, full-body pose visible in the background, wide stance, dynamic posture, clean pure white studio background, high-key lighting, sharp focus on product, slight depth of field on the model, bold colorful outfit with strong contrast tones, modern beauty advertising aesthetic, ultra-clean composition, commercial studio photography, glossy packaging detail visible, crisp shadows"
}
JSON
Create an infographic image of [LANDMARK], combining a real photograph of the landmark with blueprint-style technical annotations and diagrams overlaid on the image. Include the title “[LANDMARK]” in a hand-drawn box in the corner. Add white chalk-style sketches showing key structural data, important measurements, material quantities, internal diagrams, load-flow arrows, cross-sections, floor plans, and notable architectural or engineering features. Style: blueprint aesthetic with white line drawings on the photograph, technical/architectural annotation style, educational infographic feel, with the real environment visible behind the annotations.
curl -X POST https://runapi.ai/api/v1/gpt_image_2/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "gpt-image-2",
"prompt": "Create an infographic image of [LANDMARK], combining a real photograph of the landmark with blueprint-style technical annotations and diagrams overlaid on the image. Include the title “[LANDMARK]” in a hand-drawn box in the corner. Add white chalk-style sketches showing key structural data, important measurements, material quantities, internal diagrams, load-flow arrows, cross-sections, floor plans, and notable architectural or engineering features. Style: blueprint aesthetic with white line drawings on the photograph, technical/architectural annotation style, educational infographic feel, with the real environment visible behind the annotations."
}
JSON