Cinematic product poster for WELLBI, India's premium bamboo apparel brand. SCENE: A lone young Indian man emerges from a dense, luminous bamboo forest at golden hour. Wears a perfectly draped, ultra-clean ivory WELLBI bamboo polo. Bamboo stalks alive with warm amber and jade light filtering through canopy. VISUAL STORYTELLING: The bamboo forest IS the fabric — seamless living metaphor. Thin golden light rays land on the polo, suggesting softness and breathability. COMPOSITION: Low angle, subject centre-frame, bamboo framing both sides like a natural arch. Horizon at lower third. Cinematic 2.39:1 anamorphic crop. — TYPOGRAPHY SYSTEM — Hero line: "GROWN." — single word, massive scale, Helvetica Neue Ultra Light, all caps, extreme letter-spacing +600, ghost white at 15% opacity overlaid across the ENTIRE poster width — architectural, not decorative. Sub-line: "Not manufactured." — set in sharp Aktiv Grotesk Regular, sentence case, 18pt, tracking +80, positioned directly below hero word. White. Full opacity. Feels like a whisper after a shout. Brand name: "WELLBI" — bottom right corner. Neutral Grotesk Medium, all caps, tracking +300, 11pt. Separated by a 0.5pt hairline rule above it, 40px wide. Restrained. Premium. Legal/descriptor: "100% Bamboo Apparel — India" — micro text, 7pt, tracking +150, bottom left. Rotated 90° vertical. Acts as a structural edge element, not an afterthought. COLOUR PALETTE: Deep jungle green, warm amber, ivory white, earth brown. LIGHTING: ARRI Alexa Mini LF — golden hour rim, diffused fill, subtle lens flare grazing the polo fabric. MOOD: Grounded luxury. Like a Loro Piana campaign shot in Assam. CAMERA: 85mm f/1.4, shallow DOF, anamorphic lens flare. Editorial brand poster for WELLBI sustainable Indian fashion. SCENE: Extreme close-up of a weathered artisan's hands spinning bamboo thread. Blurred WELLBI tee draped elegantly in background. Warm-lit rural Indian workshop — clay walls, raw natural light. VISUAL STORYTELLING: Rough hands against silk-smooth bamboo fabric. Heritage craftsmanship. The contrast IS the message. COMPOSITION: Split tonal — dark warm left (hands, workshop), light cream right (garment). Hands at cross-point. Leica 50mm documentary realism. — TYPOGRAPHY SYSTEM — Hero line: "ONE LAKH HANDS." — Canela Display Thin, mixed case, enormous scale, set across 80% of poster width. The word "HANDS" drops to second line, indented right — staggered layout creates visual rhythm like musical notation. Counter-line: Below "HANDS", flush right: "One fabric." — same Canela Thin but 28pt, italic. The tonal shift from all-caps to italic sentence case creates emotional contrast — like going from statement to confession. Brand stamp: "WELLBI" centred bottom — pressed as if letterpress embossed. Freight Display Pro Bold, tracked tight at -20. Earthen cream on warm brown. Feels physical. Tactile. Descriptor line: "Handcrafted bamboo apparel since 2021 — India" — 9pt, Suisse Int'l Light, tracking +200, full width, very bottom edge. Reads like a footnote on a heritage certificate. COLOUR: Terracotta, aged ivory, saffron gold, deep walnut. LIGHTING: Soft natural window light, warm practical lamp. Documentary-editorial quality. MOOD: Deeply human. D&AD craft award energy. CAMERA: Leica 50mm Summilux, skin texture visible, documentary realism with fashion editorial polish.
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:生成一张图像:"Cinematic product poster for WELLBI, India's premium bamboo apparel brand. SCENE: A lone young Indian man emerges from a dense, luminous bamboo forest at golden hour. Wears a perfectly draped, ultra-clean ivory WELLBI bamboo polo. Bamboo stalks alive with warm amber and jade light filtering through canopy. VISUAL STORYTELLING: The bamboo forest IS the fabric — seamless living metaphor. Thin golden light rays land on the polo, suggesting softness and breathability. COMPOSITION: Low angle, subject centre-frame, bamboo framing both sides like a natural arch. Horizon at lower third. Cinematic 2.39:1 anamorphic crop. — TYPOGRAPHY SYSTEM — Hero line: "GROWN." — single word, massive scale, Helvetica Neue Ultra Light, all caps, extreme letter-spacing +600, ghost white at 15% opacity overlaid across the ENTIRE poster width — architectural, not decorative. Sub-line: "Not manufactured." — set in sharp Aktiv Grotesk Regular, sentence case, 18pt, tracking +80, positioned directly below hero word. White. Full opacity. Feels like a whisper after a shout. Brand name: "WELLBI" — bottom right corner. Neutral Grotesk Medium, all caps, tracking +300, 11pt. Separated by a 0.5pt hairline rule above it, 40px wide. Restrained. Premium. Legal/descriptor: "100% Bamboo Apparel — India" — micro text, 7pt, tracking +150, bottom left. Rotated 90° vertical. Acts as a structural edge element, not an afterthought. COLOUR PALETTE: Deep jungle green, warm amber, ivory white, earth brown. LIGHTING: ARRI Alexa Mini LF — golden hour rim, diffused fill, subtle lens flare grazing the polo fabric. MOOD: Grounded luxury. Like a Loro Piana campaign shot in Assam. CAMERA: 85mm f/1.4, shallow DOF, anamorphic lens flare. Editorial brand poster for WELLBI sustainable Indian fashion. SCENE: Extreme close-up of a weathered artisan's hands spinning bamboo thread. Blurred WELLBI tee draped elegantly in background. Warm-lit rural Indian workshop — clay walls, raw natural light. VISUAL STORYTELLING: Rough hands against silk-smooth bamboo fabric. Heritage craftsmanship. The contrast IS the message. COMPOSITION: Split tonal — dark warm left (hands, workshop), light cream right (garment). Hands at cross-point. Leica 50mm documentary realism. — TYPOGRAPHY SYSTEM — Hero line: "ONE LAKH HANDS." — Canela Display Thin, mixed case, enormous scale, set across 80% of poster width. The word "HANDS" drops to second line, indented right — staggered layout creates visual rhythm like musical notation. Counter-line: Below "HANDS", flush right: "One fabric." — same Canela Thin but 28pt, italic. The tonal shift from all-caps to italic sentence case creates emotional contrast — like going from statement to confession. Brand stamp: "WELLBI" centred bottom — pressed as if letterpress embossed. Freight Display Pro Bold, tracked tight at -20. Earthen cream on warm brown. Feels physical. Tactile. Descriptor line: "Handcrafted bamboo apparel since 2021 — India" — 9pt, Suisse Int'l Light, tracking +200, full width, very bottom edge. Reads like a footnote on a heritage certificate. COLOUR: Terracotta, aged ivory, saffron gold, deep walnut. LIGHTING: Soft natural window light, warm practical lamp. Documentary-editorial quality. MOOD: Deeply human. D&AD craft award energy. CAMERA: Leica 50mm Summilux, skin texture visible, documentary realism with fashion editorial polish."
1. codex plugin install runapi-mcp@agents
2. 重启 Codex
3. 粘贴这个 prompt:生成一张图像:"Cinematic product poster for WELLBI, India's premium bamboo apparel brand. SCENE: A lone young Indian man emerges from a dense, luminous bamboo forest at golden hour. Wears a perfectly draped, ultra-clean ivory WELLBI bamboo polo. Bamboo stalks alive with warm amber and jade light filtering through canopy. VISUAL STORYTELLING: The bamboo forest IS the fabric — seamless living metaphor. Thin golden light rays land on the polo, suggesting softness and breathability. COMPOSITION: Low angle, subject centre-frame, bamboo framing both sides like a natural arch. Horizon at lower third. Cinematic 2.39:1 anamorphic crop. — TYPOGRAPHY SYSTEM — Hero line: "GROWN." — single word, massive scale, Helvetica Neue Ultra Light, all caps, extreme letter-spacing +600, ghost white at 15% opacity overlaid across the ENTIRE poster width — architectural, not decorative. Sub-line: "Not manufactured." — set in sharp Aktiv Grotesk Regular, sentence case, 18pt, tracking +80, positioned directly below hero word. White. Full opacity. Feels like a whisper after a shout. Brand name: "WELLBI" — bottom right corner. Neutral Grotesk Medium, all caps, tracking +300, 11pt. Separated by a 0.5pt hairline rule above it, 40px wide. Restrained. Premium. Legal/descriptor: "100% Bamboo Apparel — India" — micro text, 7pt, tracking +150, bottom left. Rotated 90° vertical. Acts as a structural edge element, not an afterthought. COLOUR PALETTE: Deep jungle green, warm amber, ivory white, earth brown. LIGHTING: ARRI Alexa Mini LF — golden hour rim, diffused fill, subtle lens flare grazing the polo fabric. MOOD: Grounded luxury. Like a Loro Piana campaign shot in Assam. CAMERA: 85mm f/1.4, shallow DOF, anamorphic lens flare. Editorial brand poster for WELLBI sustainable Indian fashion. SCENE: Extreme close-up of a weathered artisan's hands spinning bamboo thread. Blurred WELLBI tee draped elegantly in background. Warm-lit rural Indian workshop — clay walls, raw natural light. VISUAL STORYTELLING: Rough hands against silk-smooth bamboo fabric. Heritage craftsmanship. The contrast IS the message. COMPOSITION: Split tonal — dark warm left (hands, workshop), light cream right (garment). Hands at cross-point. Leica 50mm documentary realism. — TYPOGRAPHY SYSTEM — Hero line: "ONE LAKH HANDS." — Canela Display Thin, mixed case, enormous scale, set across 80% of poster width. The word "HANDS" drops to second line, indented right — staggered layout creates visual rhythm like musical notation. Counter-line: Below "HANDS", flush right: "One fabric." — same Canela Thin but 28pt, italic. The tonal shift from all-caps to italic sentence case creates emotional contrast — like going from statement to confession. Brand stamp: "WELLBI" centred bottom — pressed as if letterpress embossed. Freight Display Pro Bold, tracked tight at -20. Earthen cream on warm brown. Feels physical. Tactile. Descriptor line: "Handcrafted bamboo apparel since 2021 — India" — 9pt, Suisse Int'l Light, tracking +200, full width, very bottom edge. Reads like a footnote on a heritage certificate. COLOUR: Terracotta, aged ivory, saffron gold, deep walnut. LIGHTING: Soft natural window light, warm practical lamp. Documentary-editorial quality. MOOD: Deeply human. D&AD craft award energy. CAMERA: Leica 50mm Summilux, skin texture visible, documentary realism with fashion editorial polish."
1. npx @runapi.ai/mcp init cursor
2. 重启 Cursor
3. 粘贴这个 prompt:生成一张图像:"Cinematic product poster for WELLBI, India's premium bamboo apparel brand. SCENE: A lone young Indian man emerges from a dense, luminous bamboo forest at golden hour. Wears a perfectly draped, ultra-clean ivory WELLBI bamboo polo. Bamboo stalks alive with warm amber and jade light filtering through canopy. VISUAL STORYTELLING: The bamboo forest IS the fabric — seamless living metaphor. Thin golden light rays land on the polo, suggesting softness and breathability. COMPOSITION: Low angle, subject centre-frame, bamboo framing both sides like a natural arch. Horizon at lower third. Cinematic 2.39:1 anamorphic crop. — TYPOGRAPHY SYSTEM — Hero line: "GROWN." — single word, massive scale, Helvetica Neue Ultra Light, all caps, extreme letter-spacing +600, ghost white at 15% opacity overlaid across the ENTIRE poster width — architectural, not decorative. Sub-line: "Not manufactured." — set in sharp Aktiv Grotesk Regular, sentence case, 18pt, tracking +80, positioned directly below hero word. White. Full opacity. Feels like a whisper after a shout. Brand name: "WELLBI" — bottom right corner. Neutral Grotesk Medium, all caps, tracking +300, 11pt. Separated by a 0.5pt hairline rule above it, 40px wide. Restrained. Premium. Legal/descriptor: "100% Bamboo Apparel — India" — micro text, 7pt, tracking +150, bottom left. Rotated 90° vertical. Acts as a structural edge element, not an afterthought. COLOUR PALETTE: Deep jungle green, warm amber, ivory white, earth brown. LIGHTING: ARRI Alexa Mini LF — golden hour rim, diffused fill, subtle lens flare grazing the polo fabric. MOOD: Grounded luxury. Like a Loro Piana campaign shot in Assam. CAMERA: 85mm f/1.4, shallow DOF, anamorphic lens flare. Editorial brand poster for WELLBI sustainable Indian fashion. SCENE: Extreme close-up of a weathered artisan's hands spinning bamboo thread. Blurred WELLBI tee draped elegantly in background. Warm-lit rural Indian workshop — clay walls, raw natural light. VISUAL STORYTELLING: Rough hands against silk-smooth bamboo fabric. Heritage craftsmanship. The contrast IS the message. COMPOSITION: Split tonal — dark warm left (hands, workshop), light cream right (garment). Hands at cross-point. Leica 50mm documentary realism. — TYPOGRAPHY SYSTEM — Hero line: "ONE LAKH HANDS." — Canela Display Thin, mixed case, enormous scale, set across 80% of poster width. The word "HANDS" drops to second line, indented right — staggered layout creates visual rhythm like musical notation. Counter-line: Below "HANDS", flush right: "One fabric." — same Canela Thin but 28pt, italic. The tonal shift from all-caps to italic sentence case creates emotional contrast — like going from statement to confession. Brand stamp: "WELLBI" centred bottom — pressed as if letterpress embossed. Freight Display Pro Bold, tracked tight at -20. Earthen cream on warm brown. Feels physical. Tactile. Descriptor line: "Handcrafted bamboo apparel since 2021 — India" — 9pt, Suisse Int'l Light, tracking +200, full width, very bottom edge. Reads like a footnote on a heritage certificate. COLOUR: Terracotta, aged ivory, saffron gold, deep walnut. LIGHTING: Soft natural window light, warm practical lamp. Documentary-editorial quality. MOOD: Deeply human. D&AD craft award energy. CAMERA: Leica 50mm Summilux, skin texture visible, documentary realism with fashion editorial polish."
1. npx @runapi.ai/mcp init windsurf
2. 重启 Windsurf
3. 粘贴这个 prompt:生成一张图像:"Cinematic product poster for WELLBI, India's premium bamboo apparel brand. SCENE: A lone young Indian man emerges from a dense, luminous bamboo forest at golden hour. Wears a perfectly draped, ultra-clean ivory WELLBI bamboo polo. Bamboo stalks alive with warm amber and jade light filtering through canopy. VISUAL STORYTELLING: The bamboo forest IS the fabric — seamless living metaphor. Thin golden light rays land on the polo, suggesting softness and breathability. COMPOSITION: Low angle, subject centre-frame, bamboo framing both sides like a natural arch. Horizon at lower third. Cinematic 2.39:1 anamorphic crop. — TYPOGRAPHY SYSTEM — Hero line: "GROWN." — single word, massive scale, Helvetica Neue Ultra Light, all caps, extreme letter-spacing +600, ghost white at 15% opacity overlaid across the ENTIRE poster width — architectural, not decorative. Sub-line: "Not manufactured." — set in sharp Aktiv Grotesk Regular, sentence case, 18pt, tracking +80, positioned directly below hero word. White. Full opacity. Feels like a whisper after a shout. Brand name: "WELLBI" — bottom right corner. Neutral Grotesk Medium, all caps, tracking +300, 11pt. Separated by a 0.5pt hairline rule above it, 40px wide. Restrained. Premium. Legal/descriptor: "100% Bamboo Apparel — India" — micro text, 7pt, tracking +150, bottom left. Rotated 90° vertical. Acts as a structural edge element, not an afterthought. COLOUR PALETTE: Deep jungle green, warm amber, ivory white, earth brown. LIGHTING: ARRI Alexa Mini LF — golden hour rim, diffused fill, subtle lens flare grazing the polo fabric. MOOD: Grounded luxury. Like a Loro Piana campaign shot in Assam. CAMERA: 85mm f/1.4, shallow DOF, anamorphic lens flare. Editorial brand poster for WELLBI sustainable Indian fashion. SCENE: Extreme close-up of a weathered artisan's hands spinning bamboo thread. Blurred WELLBI tee draped elegantly in background. Warm-lit rural Indian workshop — clay walls, raw natural light. VISUAL STORYTELLING: Rough hands against silk-smooth bamboo fabric. Heritage craftsmanship. The contrast IS the message. COMPOSITION: Split tonal — dark warm left (hands, workshop), light cream right (garment). Hands at cross-point. Leica 50mm documentary realism. — TYPOGRAPHY SYSTEM — Hero line: "ONE LAKH HANDS." — Canela Display Thin, mixed case, enormous scale, set across 80% of poster width. The word "HANDS" drops to second line, indented right — staggered layout creates visual rhythm like musical notation. Counter-line: Below "HANDS", flush right: "One fabric." — same Canela Thin but 28pt, italic. The tonal shift from all-caps to italic sentence case creates emotional contrast — like going from statement to confession. Brand stamp: "WELLBI" centred bottom — pressed as if letterpress embossed. Freight Display Pro Bold, tracked tight at -20. Earthen cream on warm brown. Feels physical. Tactile. Descriptor line: "Handcrafted bamboo apparel since 2021 — India" — 9pt, Suisse Int'l Light, tracking +200, full width, very bottom edge. Reads like a footnote on a heritage certificate. COLOUR: Terracotta, aged ivory, saffron gold, deep walnut. LIGHTING: Soft natural window light, warm practical lamp. Documentary-editorial quality. MOOD: Deeply human. D&AD craft award energy. CAMERA: Leica 50mm Summilux, skin texture visible, documentary realism with fashion editorial polish."
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": "Cinematic product poster for WELLBI, India's premium bamboo apparel brand. SCENE: A lone young Indian man emerges from a dense, luminous bamboo forest at golden hour. Wears a perfectly draped, ultra-clean ivory WELLBI bamboo polo. Bamboo stalks alive with warm amber and jade light filtering through canopy. VISUAL STORYTELLING: The bamboo forest IS the fabric — seamless living metaphor. Thin golden light rays land on the polo, suggesting softness and breathability. COMPOSITION: Low angle, subject centre-frame, bamboo framing both sides like a natural arch. Horizon at lower third. Cinematic 2.39:1 anamorphic crop. — TYPOGRAPHY SYSTEM — Hero line: \"GROWN.\" — single word, massive scale, Helvetica Neue Ultra Light, all caps, extreme letter-spacing +600, ghost white at 15% opacity overlaid across the ENTIRE poster width — architectural, not decorative. Sub-line: \"Not manufactured.\" — set in sharp Aktiv Grotesk Regular, sentence case, 18pt, tracking +80, positioned directly below hero word. White. Full opacity. Feels like a whisper after a shout. Brand name: \"WELLBI\" — bottom right corner. Neutral Grotesk Medium, all caps, tracking +300, 11pt. Separated by a 0.5pt hairline rule above it, 40px wide. Restrained. Premium. Legal/descriptor: \"100% Bamboo Apparel — India\" — micro text, 7pt, tracking +150, bottom left. Rotated 90° vertical. Acts as a structural edge element, not an afterthought. COLOUR PALETTE: Deep jungle green, warm amber, ivory white, earth brown. LIGHTING: ARRI Alexa Mini LF — golden hour rim, diffused fill, subtle lens flare grazing the polo fabric. MOOD: Grounded luxury. Like a Loro Piana campaign shot in Assam. CAMERA: 85mm f/1.4, shallow DOF, anamorphic lens flare. Editorial brand poster for WELLBI sustainable Indian fashion. SCENE: Extreme close-up of a weathered artisan's hands spinning bamboo thread. Blurred WELLBI tee draped elegantly in background. Warm-lit rural Indian workshop — clay walls, raw natural light. VISUAL STORYTELLING: Rough hands against silk-smooth bamboo fabric. Heritage craftsmanship. The contrast IS the message. COMPOSITION: Split tonal — dark warm left (hands, workshop), light cream right (garment). Hands at cross-point. Leica 50mm documentary realism. — TYPOGRAPHY SYSTEM — Hero line: \"ONE LAKH HANDS.\" — Canela Display Thin, mixed case, enormous scale, set across 80% of poster width. The word \"HANDS\" drops to second line, indented right — staggered layout creates visual rhythm like musical notation. Counter-line: Below \"HANDS\", flush right: \"One fabric.\" — same Canela Thin but 28pt, italic. The tonal shift from all-caps to italic sentence case creates emotional contrast — like going from statement to confession. Brand stamp: \"WELLBI\" centred bottom — pressed as if letterpress embossed. Freight Display Pro Bold, tracked tight at -20. Earthen cream on warm brown. Feels physical. Tactile. Descriptor line: \"Handcrafted bamboo apparel since 2021 — India\" — 9pt, Suisse Int'l Light, tracking +200, full width, very bottom edge. Reads like a footnote on a heritage certificate. COLOUR: Terracotta, aged ivory, saffron gold, deep walnut. LIGHTING: Soft natural window light, warm practical lamp. Documentary-editorial quality. MOOD: Deeply human. D&AD craft award energy. CAMERA: Leica 50mm Summilux, skin texture visible, documentary realism with fashion editorial polish."
}
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": "Cinematic product poster for WELLBI, India's premium bamboo apparel brand. SCENE: A lone young Indian man emerges from a dense, luminous bamboo forest at golden hour. Wears a perfectly draped, ultra-clean ivory WELLBI bamboo polo. Bamboo stalks alive with warm amber and jade light filtering through canopy. VISUAL STORYTELLING: The bamboo forest IS the fabric — seamless living metaphor. Thin golden light rays land on the polo, suggesting softness and breathability. COMPOSITION: Low angle, subject centre-frame, bamboo framing both sides like a natural arch. Horizon at lower third. Cinematic 2.39:1 anamorphic crop. — TYPOGRAPHY SYSTEM — Hero line: \"GROWN.\" — single word, massive scale, Helvetica Neue Ultra Light, all caps, extreme letter-spacing +600, ghost white at 15% opacity overlaid across the ENTIRE poster width — architectural, not decorative. Sub-line: \"Not manufactured.\" — set in sharp Aktiv Grotesk Regular, sentence case, 18pt, tracking +80, positioned directly below hero word. White. Full opacity. Feels like a whisper after a shout. Brand name: \"WELLBI\" — bottom right corner. Neutral Grotesk Medium, all caps, tracking +300, 11pt. Separated by a 0.5pt hairline rule above it, 40px wide. Restrained. Premium. Legal/descriptor: \"100% Bamboo Apparel — India\" — micro text, 7pt, tracking +150, bottom left. Rotated 90° vertical. Acts as a structural edge element, not an afterthought. COLOUR PALETTE: Deep jungle green, warm amber, ivory white, earth brown. LIGHTING: ARRI Alexa Mini LF — golden hour rim, diffused fill, subtle lens flare grazing the polo fabric. MOOD: Grounded luxury. Like a Loro Piana campaign shot in Assam. CAMERA: 85mm f/1.4, shallow DOF, anamorphic lens flare. Editorial brand poster for WELLBI sustainable Indian fashion. SCENE: Extreme close-up of a weathered artisan's hands spinning bamboo thread. Blurred WELLBI tee draped elegantly in background. Warm-lit rural Indian workshop — clay walls, raw natural light. VISUAL STORYTELLING: Rough hands against silk-smooth bamboo fabric. Heritage craftsmanship. The contrast IS the message. COMPOSITION: Split tonal — dark warm left (hands, workshop), light cream right (garment). Hands at cross-point. Leica 50mm documentary realism. — TYPOGRAPHY SYSTEM — Hero line: \"ONE LAKH HANDS.\" — Canela Display Thin, mixed case, enormous scale, set across 80% of poster width. The word \"HANDS\" drops to second line, indented right — staggered layout creates visual rhythm like musical notation. Counter-line: Below \"HANDS\", flush right: \"One fabric.\" — same Canela Thin but 28pt, italic. The tonal shift from all-caps to italic sentence case creates emotional contrast — like going from statement to confession. Brand stamp: \"WELLBI\" centred bottom — pressed as if letterpress embossed. Freight Display Pro Bold, tracked tight at -20. Earthen cream on warm brown. Feels physical. Tactile. Descriptor line: \"Handcrafted bamboo apparel since 2021 — India\" — 9pt, Suisse Int'l Light, tracking +200, full width, very bottom edge. Reads like a footnote on a heritage certificate. COLOUR: Terracotta, aged ivory, saffron gold, deep walnut. LIGHTING: Soft natural window light, warm practical lamp. Documentary-editorial quality. MOOD: Deeply human. D&AD craft award energy. CAMERA: Leica 50mm Summilux, skin texture visible, documentary realism with fashion editorial polish."
});
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: "Cinematic product poster for WELLBI, India's premium bamboo apparel brand. SCENE: A lone young Indian man emerges from a dense, luminous bamboo forest at golden hour. Wears a perfectly draped, ultra-clean ivory WELLBI bamboo polo. Bamboo stalks alive with warm amber and jade light filtering through canopy. VISUAL STORYTELLING: The bamboo forest IS the fabric — seamless living metaphor. Thin golden light rays land on the polo, suggesting softness and breathability. COMPOSITION: Low angle, subject centre-frame, bamboo framing both sides like a natural arch. Horizon at lower third. Cinematic 2.39:1 anamorphic crop. — TYPOGRAPHY SYSTEM — Hero line: \"GROWN.\" — single word, massive scale, Helvetica Neue Ultra Light, all caps, extreme letter-spacing +600, ghost white at 15% opacity overlaid across the ENTIRE poster width — architectural, not decorative. Sub-line: \"Not manufactured.\" — set in sharp Aktiv Grotesk Regular, sentence case, 18pt, tracking +80, positioned directly below hero word. White. Full opacity. Feels like a whisper after a shout. Brand name: \"WELLBI\" — bottom right corner. Neutral Grotesk Medium, all caps, tracking +300, 11pt. Separated by a 0.5pt hairline rule above it, 40px wide. Restrained. Premium. Legal/descriptor: \"100% Bamboo Apparel — India\" — micro text, 7pt, tracking +150, bottom left. Rotated 90° vertical. Acts as a structural edge element, not an afterthought. COLOUR PALETTE: Deep jungle green, warm amber, ivory white, earth brown. LIGHTING: ARRI Alexa Mini LF — golden hour rim, diffused fill, subtle lens flare grazing the polo fabric. MOOD: Grounded luxury. Like a Loro Piana campaign shot in Assam. CAMERA: 85mm f/1.4, shallow DOF, anamorphic lens flare. Editorial brand poster for WELLBI sustainable Indian fashion. SCENE: Extreme close-up of a weathered artisan's hands spinning bamboo thread. Blurred WELLBI tee draped elegantly in background. Warm-lit rural Indian workshop — clay walls, raw natural light. VISUAL STORYTELLING: Rough hands against silk-smooth bamboo fabric. Heritage craftsmanship. The contrast IS the message. COMPOSITION: Split tonal — dark warm left (hands, workshop), light cream right (garment). Hands at cross-point. Leica 50mm documentary realism. — TYPOGRAPHY SYSTEM — Hero line: \"ONE LAKH HANDS.\" — Canela Display Thin, mixed case, enormous scale, set across 80% of poster width. The word \"HANDS\" drops to second line, indented right — staggered layout creates visual rhythm like musical notation. Counter-line: Below \"HANDS\", flush right: \"One fabric.\" — same Canela Thin but 28pt, italic. The tonal shift from all-caps to italic sentence case creates emotional contrast — like going from statement to confession. Brand stamp: \"WELLBI\" centred bottom — pressed as if letterpress embossed. Freight Display Pro Bold, tracked tight at -20. Earthen cream on warm brown. Feels physical. Tactile. Descriptor line: \"Handcrafted bamboo apparel since 2021 — India\" — 9pt, Suisse Int'l Light, tracking +200, full width, very bottom edge. Reads like a footnote on a heritage certificate. COLOUR: Terracotta, aged ivory, saffron gold, deep walnut. LIGHTING: Soft natural window light, warm practical lamp. Documentary-editorial quality. MOOD: Deeply human. D&AD craft award energy. CAMERA: Leica 50mm Summilux, skin texture visible, documentary realism with fashion editorial polish."
)
puts result.id
package main
import (
"context"
"fmt"
"log"
"net/http"
"os"
"strings"
)
func main() {
body := strings.NewReader("{\"model\":\"gpt-image-2\",\"prompt\":\"Cinematic product poster for WELLBI, India's premium bamboo apparel brand. SCENE: A lone young Indian man emerges from a dense, luminous bamboo forest at golden hour. Wears a perfectly draped, ultra-clean ivory WELLBI bamboo polo. Bamboo stalks alive with warm amber and jade light filtering through canopy. VISUAL STORYTELLING: The bamboo forest IS the fabric — seamless living metaphor. Thin golden light rays land on the polo, suggesting softness and breathability. COMPOSITION: Low angle, subject centre-frame, bamboo framing both sides like a natural arch. Horizon at lower third. Cinematic 2.39:1 anamorphic crop. — TYPOGRAPHY SYSTEM — Hero line: \\\"GROWN.\\\" — single word, massive scale, Helvetica Neue Ultra Light, all caps, extreme letter-spacing +600, ghost white at 15% opacity overlaid across the ENTIRE poster width — architectural, not decorative. Sub-line: \\\"Not manufactured.\\\" — set in sharp Aktiv Grotesk Regular, sentence case, 18pt, tracking +80, positioned directly below hero word. White. Full opacity. Feels like a whisper after a shout. Brand name: \\\"WELLBI\\\" — bottom right corner. Neutral Grotesk Medium, all caps, tracking +300, 11pt. Separated by a 0.5pt hairline rule above it, 40px wide. Restrained. Premium. Legal/descriptor: \\\"100% Bamboo Apparel — India\\\" — micro text, 7pt, tracking +150, bottom left. Rotated 90° vertical. Acts as a structural edge element, not an afterthought. COLOUR PALETTE: Deep jungle green, warm amber, ivory white, earth brown. LIGHTING: ARRI Alexa Mini LF — golden hour rim, diffused fill, subtle lens flare grazing the polo fabric. MOOD: Grounded luxury. Like a Loro Piana campaign shot in Assam. CAMERA: 85mm f/1.4, shallow DOF, anamorphic lens flare. Editorial brand poster for WELLBI sustainable Indian fashion. SCENE: Extreme close-up of a weathered artisan's hands spinning bamboo thread. Blurred WELLBI tee draped elegantly in background. Warm-lit rural Indian workshop — clay walls, raw natural light. VISUAL STORYTELLING: Rough hands against silk-smooth bamboo fabric. Heritage craftsmanship. The contrast IS the message. COMPOSITION: Split tonal — dark warm left (hands, workshop), light cream right (garment). Hands at cross-point. Leica 50mm documentary realism. — TYPOGRAPHY SYSTEM — Hero line: \\\"ONE LAKH HANDS.\\\" — Canela Display Thin, mixed case, enormous scale, set across 80% of poster width. The word \\\"HANDS\\\" drops to second line, indented right — staggered layout creates visual rhythm like musical notation. Counter-line: Below \\\"HANDS\\\", flush right: \\\"One fabric.\\\" — same Canela Thin but 28pt, italic. The tonal shift from all-caps to italic sentence case creates emotional contrast — like going from statement to confession. Brand stamp: \\\"WELLBI\\\" centred bottom — pressed as if letterpress embossed. Freight Display Pro Bold, tracked tight at -20. Earthen cream on warm brown. Feels physical. Tactile. Descriptor line: \\\"Handcrafted bamboo apparel since 2021 — India\\\" — 9pt, Suisse Int'l Light, tracking +200, full width, very bottom edge. Reads like a footnote on a heritage certificate. COLOUR: Terracotta, aged ivory, saffron gold, deep walnut. LIGHTING: Soft natural window light, warm practical lamp. Documentary-editorial quality. MOOD: Deeply human. D&AD craft award energy. CAMERA: Leica 50mm Summilux, skin texture visible, documentary realism with fashion editorial polish.\"}")
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