---
title: UI与界面 — gpt-image-2 提示 | RunAPI
description: 複製此 RunAPI 提示，查看代理設定步驟，並使用 gpt-image-2 的 API 程式碼。
url: https://runapi.ai/zh-HK/prompts/prompt-A1pVL0.md
canonical: https://runapi.ai/zh-CN/prompts/prompt-A1pVL0
locale: zh-HK
site: RunAPI
image: https://runapi.ai/assets/opengraph-bfaaa0f0.png
prompt_id: 11324
model: gpt-image-2
modality: image
endpoint: "/api/v1/gpt_image_2/text_to_image"
---

> HTML version: https://runapi.ai/zh-HK/prompts/prompt-A1pVL0
> Site index for agents: https://runapi.ai/llms.txt


# UI与界面

複製此 RunAPI 提示，查看代理設定步驟，並使用 gpt-image-2 的 API 程式碼。

**提示** · 圖像

![UI与界面 preview](https://cdn.runapi.ai/public/prompts/previews/8aa72b98ff349ea4845f760d5669ebd9c2d2a281358d18458030e99b95518389-runapi-ai.jpg)

## 提示

```text
[中文] 生成一张适合小红书发布的 3:4 竖版九宫格海报，整体为 3列 × 3行 排版，九个宫格边界清晰，方便后期直接切割成 9 张单图发布。整体风格干净、高级、统一，适合女性向健康生活方式内容，具有小红书爆款封面气质。画面要求 信息排版清晰、文字大、可读性强、留白舒服、配色温柔治愈。 整体视觉风格： 奶油白、浅米色、淡燕麦色、浅焦糖色为主色调，搭配少量深棕色文字，ins风、治愈感、睡眠疗愈主题，简约排版，轻拟物插画点缀，可加入枕头、月亮、星星、热牛奶、香薰、书本、眼罩、窗帘、床铺等元素。整体像专业新媒体设计图，字体工整，适合做知识科普类小红书九宫格。 排版要求： 整张图必须是标准九宫格构图，切分后每一格都能独立成图 每个宫格内容完整居中，不要把标题或正文压在分割线附近 每个格子之间保留明显间隔或细边框，保证裁切后不影响阅读 所有文字使用中文，清晰易读，不要乱码，不要英文 每个宫格都像独立的小红书图文卡片，但视觉风格保持统一 画面精致、真实、自然，不要廉价营销感，不要过度花哨 九宫格具体内容： 第1格（封面） 大标题：让你倒头就睡的8个 tips 副标题：失眠党、熬夜党一定要收藏 封面视觉最吸睛，适合做首图，加入柔软床铺、月亮、枕头、眼罩等治愈睡眠元素，标题突出，排版高级。 第2格 标题：1. 睡前1小时别玩手机 正文：蓝光会让大脑更清醒，越刷越睡不着。 配图元素：手机、月亮、困倦表情的小插画 第3格 标题：2. 睡前把灯光调暗 正文：暖光环境能帮助身体进入“准备睡觉”的状态。 配图元素：床头灯、暖黄色灯光、窗帘 第4格 标题：3. 房间温度别太高 正文：稍微凉一点，更容易快速入睡。 配图元素：空调、温度计、被子 第5格 标题：4. 晚上别喝浓茶咖啡 正文：咖啡因会延迟困意，让你躺很久还睡不着。 配图元素：咖啡杯、茶杯、禁止符号 第6格 标题：5. 睡前洗个热水澡 正文：能让身体放松下来，入睡速度更快。 配图元素：浴室蒸汽、毛巾、热水 第7格 标题：6. 脑子停不下来就写下来 正文：把烦心事和待办清单写下，大脑会更容易放松。 配图元素：笔记本、钢笔、小台灯 第8格 标题：7. 固定上床时间 正文：每天差不多时间睡，生物钟会越来越稳定。 配图元素：时钟、月亮、床 第9格 标题：8. 试试深呼吸放松法 正文：吸气4秒，停4秒，呼气6秒，慢慢就有困意了。 底部小字：收藏这组，今晚试试看 配图元素：呼吸线条、闭眼人物、星星 画质要求： 高清，高级排版，杂志感，真实可发布，新媒体运营审美，小红书爆款图文风格，文字布局规整，适合直接切图。 [English] Generate a 3:4 vertical 9-grid poster suitable for publishing on Xiaohongshu, with an overall layout of 3 columns × 3 rows. The boundaries of the nine grids are clear, making it easy to directly cut into 9 single images for later publishing. The overall style is clean, premium, and unified, suitable for female-oriented healthy lifestyle content, possessing the vibe of a viral Xiaohongshu cover. Image requirements: clear information layout, large text, strong readability, comfortable white space, gentle and healing color palette. Overall visual style: Cream white, light beige, light oat color, and light caramel color as the main color tones, paired with a small amount of dark brown text. Ins style, healing sense, sleep therapy theme, minimalist layout, light skeuomorphic illustration embellishments. Elements such as pillows, moons, stars, hot milk, aromatherapy, books, eye masks, curtains, and beds can be added. The overall look should be like a professional new media design graphic, with neat fonts, suitable for a knowledge-based popular science Xiaohongshu 9-grid. Layout requirements: The entire image must be a standard 9-grid composition, and each grid can stand alone as an independent image after being cut. The content of each grid should be completely centered; do not place titles or body text near the dividing lines. Keep obvious gaps or thin borders between each grid to ensure that reading is not affected after cropping. All text must use Chinese, be clear and readable, no garbled characters, no English. Each grid should look like an independent Xiaohongshu image-and-text card, but the visual style must remain unified. The image should be exquisite, realistic, and natural, without a cheap marketing feel, and not overly flashy. Specific content of the 9-grid: Grid 1 (Cover) Main title: 8 tips to make you fall asleep instantly Subtitle: Insomniacs and night owls must save this The cover visuals should be the most eye-catching, suitable for the first image. Add healing sleep elements such as soft beds, moons, pillows, and eye masks. The title should be prominent with a premium layout. Grid 2 Title: 1. Don't play with your phone 1 hour before bed Body text: Blue light makes the brain more awake; the more you scroll, the harder it is to fall asleep. Image elements: Mobile phone, moon, small illustration of a sleepy expression Grid 3 Title: 2. Dim the lights before bed Body text: A warm light environment can help the body enter a "ready to sleep" state. Image elements: Bedside lamp, warm yellow light, curtains Grid 4 Title: 3. Don't keep the room temperature too high Body text: Keeping it a bit cooler makes it easier to fall asleep quickly. Image elements: Air conditioner, thermometer, quilt Grid 5 Title: 4. Don't drink strong tea or coffee at night Body text: Caffeine delays sleepiness, making you lie in bed for a long time unable to sleep. Image elements: Coffee cup, teacup, prohibition sign Grid 6 Title: 5. Take a hot shower before bed Body text: It can relax the body and help you fall asleep faster. Image elements: Bathroom steam, towel, hot water Grid 7 Title: 6. Write it down if your brain won't stop Body text: Writing down your worries and to-do lists makes it easier for your brain to relax. Image elements: Notebook, fountain pen, small desk lamp Grid 8 Title: 7. Fix your bedtime Body text: Going to bed at about the same time every day will make your biological clock increasingly stable. Image elements: Clock, moon, bed Grid 9 Title: 8. Try deep breathing relaxation Body text: Inhale for 4 seconds, hold for 4 seconds, exhale for 6 seconds, and sleepiness will gradually come. Bottom small text: Save this set and try it tonight Image elements: Breathing lines, person with closed eyes, stars Image quality requirements: High definition, premium layout, magazine feel, realistically publishable, new media operation aesthetics, Xiaohongshu viral image-and-text style, neat text layout, suitable for direct image cutting.
```

<!-- prompt-detail-slot: generation-parameters -->
<!-- /prompt-detail-slot: generation-parameters -->

<!-- prompt-detail-slot: generate-cta -->

### 生成此提示

| 模型 | GPT Image 2 2 |
|---|---|
| 預計成本 | $0.03 / 次請求 |
| Endpoint | `/api/v1/gpt_image_2/text_to_image` |

[登入後生成](https://runapi.ai/zh-HK/login)

生成的圖像會顯示在這裡
<!-- /prompt-detail-slot: generate-cta -->

<!-- prompt-detail-slot: prompt-breakdown -->

## Prompt 分析

### 主題

UI与界面

### 氛圍

lifestyle / 圖像

### 技術

gpt-image-2 / Gpt Image 2 / Text To Image / /api/v1/gpt_image_2/text_to_image

### 風格

9-grid, cream-white, healing, lifestyle, minimalist-layout, sleep-therapy, vertical-poster, xiaohongshu

<!-- /prompt-detail-slot: prompt-breakdown -->

<!-- prompt-detail-slot: supported-models -->
## 支援此 Prompt 的模型

| 模態 | 模型 | 價格 | 試用 |
|---|---|---|---|
| 圖像 | Qwen 2/qwen-2-text-to-image | $0.04 / 張圖片 | [試用](https://runapi.ai/zh-HK/models/qwen-2/text-to-image.md) |
| 圖像 | Qwen 3/qwen-3-pro-text-to-image | $0.04-$0.08 / 張圖片 | [試用](https://runapi.ai/zh-HK/models/qwen-3/pro-text-to-image.md) |
| 圖像 | Qwen 3/qwen-3-text-to-image | $0.03 / 張圖片 | [試用](https://runapi.ai/zh-HK/models/qwen-3/text-to-image.md) |
| 圖像 | Qwen Image/qwen-image-text-to-image | $0.03 / 張圖片 | [試用](https://runapi.ai/zh-HK/models/qwen-image/text-to-image.md) |
| 圖像 | Wan/wan-2.7-image | $0.03 / 張圖片 | [試用](https://runapi.ai/zh-HK/models/wan/2.7-image.md) |

<!-- /prompt-detail-slot: supported-models -->

## 執行詳情

| Field | Value |
|---|---|
| 模型 | `gpt-image-2` |
| Modality | 圖像 |
| Category | lifestyle |
| Tags | 9-grid, cream-white, healing, lifestyle, minimalist-layout, sleep-therapy, vertical-poster, xiaohongshu |

## Use with an agent

### Claude Code

1. claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
2. 重新啟動 Claude Code
3. 貼上此提示：生成一張圖像："[中文] 生成一张适合小红书发布的 3:4 竖版九宫格海报，整体为 3列 × 3行 排版，九个宫格边界清晰，方便后期直接切割成 9 张单图发布。整体风格干净、高级、统一，适合女性向健康生活方式内容，具有小红书爆款封面气质。画面要求 信息排版清晰、文字大、可读性强、留白舒服、配色温柔治愈。 整体视觉风格： 奶油白、浅米色、淡燕麦色、浅焦糖色为主色调，搭配少量深棕色文字，ins风、治愈感、睡眠疗愈主题，简约排版，轻拟物插画点缀，可加入枕头、月亮、星星、热牛奶、香薰、书本、眼罩、窗帘、床铺等元素。整体像专业新媒体设计图，字体工整，适合做知识科普类小红书九宫格。 排版要求： 整张图必须是标准九宫格构图，切分后每一格都能独立成图 每个宫格内容完整居中，不要把标题或正文压在分割线附近 每个格子之间保留明显间隔或细边框，保证裁切后不影响阅读 所有文字使用中文，清晰易读，不要乱码，不要英文 每个宫格都像独立的小红书图文卡片，但视觉风格保持统一 画面精致、真实、自然，不要廉价营销感，不要过度花哨 九宫格具体内容： 第1格（封面） 大标题：让你倒头就睡的8个 tips 副标题：失眠党、熬夜党一定要收藏 封面视觉最吸睛，适合做首图，加入柔软床铺、月亮、枕头、眼罩等治愈睡眠元素，标题突出，排版高级。 第2格 标题：1. 睡前1小时别玩手机 正文：蓝光会让大脑更清醒，越刷越睡不着。 配图元素：手机、月亮、困倦表情的小插画 第3格 标题：2. 睡前把灯光调暗 正文：暖光环境能帮助身体进入“准备睡觉”的状态。 配图元素：床头灯、暖黄色灯光、窗帘 第4格 标题：3. 房间温度别太高 正文：稍微凉一点，更容易快速入睡。 配图元素：空调、温度计、被子 第5格 标题：4. 晚上别喝浓茶咖啡 正文：咖啡因会延迟困意，让你躺很久还睡不着。 配图元素：咖啡杯、茶杯、禁止符号 第6格 标题：5. 睡前洗个热水澡 正文：能让身体放松下来，入睡速度更快。 配图元素：浴室蒸汽、毛巾、热水 第7格 标题：6. 脑子停不下来就写下来 正文：把烦心事和待办清单写下，大脑会更容易放松。 配图元素：笔记本、钢笔、小台灯 第8格 标题：7. 固定上床时间 正文：每天差不多时间睡，生物钟会越来越稳定。 配图元素：时钟、月亮、床 第9格 标题：8. 试试深呼吸放松法 正文：吸气4秒，停4秒，呼气6秒，慢慢就有困意了。 底部小字：收藏这组，今晚试试看 配图元素：呼吸线条、闭眼人物、星星 画质要求： 高清，高级排版，杂志感，真实可发布，新媒体运营审美，小红书爆款图文风格，文字布局规整，适合直接切图。 [English] Generate a 3:4 vertical 9-grid poster suitable for publishing on Xiaohongshu, with an overall layout of 3 columns × 3 rows. The boundaries of the nine grids are clear, making it easy to directly cut into 9 single images for later publishing. The overall style is clean, premium, and unified, suitable for female-oriented healthy lifestyle content, possessing the vibe of a viral Xiaohongshu cover. Image requirements: clear information layout, large text, strong readability, comfortable white space, gentle and healing color palette. Overall visual style: Cream white, light beige, light oat color, and light caramel color as the main color tones, paired with a small amount of dark brown text. Ins style, healing sense, sleep therapy theme, minimalist layout, light skeuomorphic illustration embellishments. Elements such as pillows, moons, stars, hot milk, aromatherapy, books, eye masks, curtains, and beds can be added. The overall look should be like a professional new media design graphic, with neat fonts, suitable for a knowledge-based popular science Xiaohongshu 9-grid. Layout requirements: The entire image must be a standard 9-grid composition, and each grid can stand alone as an independent image after being cut. The content of each grid should be completely centered; do not place titles or body text near the dividing lines. Keep obvious gaps or thin borders between each grid to ensure that reading is not affected after cropping. All text must use Chinese, be clear and readable, no garbled characters, no English. Each grid should look like an independent Xiaohongshu image-and-text card, but the visual style must remain unified. The image should be exquisite, realistic, and natural, without a cheap marketing feel, and not overly flashy. Specific content of the 9-grid: Grid 1 (Cover) Main title: 8 tips to make you fall asleep instantly Subtitle: Insomniacs and night owls must save this The cover visuals should be the most eye-catching, suitable for the first image. Add healing sleep elements such as soft beds, moons, pillows, and eye masks. The title should be prominent with a premium layout. Grid 2 Title: 1. Don't play with your phone 1 hour before bed Body text: Blue light makes the brain more awake; the more you scroll, the harder it is to fall asleep. Image elements: Mobile phone, moon, small illustration of a sleepy expression Grid 3 Title: 2. Dim the lights before bed Body text: A warm light environment can help the body enter a "ready to sleep" state. Image elements: Bedside lamp, warm yellow light, curtains Grid 4 Title: 3. Don't keep the room temperature too high Body text: Keeping it a bit cooler makes it easier to fall asleep quickly. Image elements: Air conditioner, thermometer, quilt Grid 5 Title: 4. Don't drink strong tea or coffee at night Body text: Caffeine delays sleepiness, making you lie in bed for a long time unable to sleep. Image elements: Coffee cup, teacup, prohibition sign Grid 6 Title: 5. Take a hot shower before bed Body text: It can relax the body and help you fall asleep faster. Image elements: Bathroom steam, towel, hot water Grid 7 Title: 6. Write it down if your brain won't stop Body text: Writing down your worries and to-do lists makes it easier for your brain to relax. Image elements: Notebook, fountain pen, small desk lamp Grid 8 Title: 7. Fix your bedtime Body text: Going to bed at about the same time every day will make your biological clock increasingly stable. Image elements: Clock, moon, bed Grid 9 Title: 8. Try deep breathing relaxation Body text: Inhale for 4 seconds, hold for 4 seconds, exhale for 6 seconds, and sleepiness will gradually come. Bottom small text: Save this set and try it tonight Image elements: Breathing lines, person with closed eyes, stars Image quality requirements: High definition, premium layout, magazine feel, realistically publishable, new media operation aesthetics, Xiaohongshu viral image-and-text style, neat text layout, suitable for direct image cutting."

### Codex

1. codex plugin install runapi-mcp@agents
2. 重新啟動 Codex
3. 貼上此提示：生成一張圖像："[中文] 生成一张适合小红书发布的 3:4 竖版九宫格海报，整体为 3列 × 3行 排版，九个宫格边界清晰，方便后期直接切割成 9 张单图发布。整体风格干净、高级、统一，适合女性向健康生活方式内容，具有小红书爆款封面气质。画面要求 信息排版清晰、文字大、可读性强、留白舒服、配色温柔治愈。 整体视觉风格： 奶油白、浅米色、淡燕麦色、浅焦糖色为主色调，搭配少量深棕色文字，ins风、治愈感、睡眠疗愈主题，简约排版，轻拟物插画点缀，可加入枕头、月亮、星星、热牛奶、香薰、书本、眼罩、窗帘、床铺等元素。整体像专业新媒体设计图，字体工整，适合做知识科普类小红书九宫格。 排版要求： 整张图必须是标准九宫格构图，切分后每一格都能独立成图 每个宫格内容完整居中，不要把标题或正文压在分割线附近 每个格子之间保留明显间隔或细边框，保证裁切后不影响阅读 所有文字使用中文，清晰易读，不要乱码，不要英文 每个宫格都像独立的小红书图文卡片，但视觉风格保持统一 画面精致、真实、自然，不要廉价营销感，不要过度花哨 九宫格具体内容： 第1格（封面） 大标题：让你倒头就睡的8个 tips 副标题：失眠党、熬夜党一定要收藏 封面视觉最吸睛，适合做首图，加入柔软床铺、月亮、枕头、眼罩等治愈睡眠元素，标题突出，排版高级。 第2格 标题：1. 睡前1小时别玩手机 正文：蓝光会让大脑更清醒，越刷越睡不着。 配图元素：手机、月亮、困倦表情的小插画 第3格 标题：2. 睡前把灯光调暗 正文：暖光环境能帮助身体进入“准备睡觉”的状态。 配图元素：床头灯、暖黄色灯光、窗帘 第4格 标题：3. 房间温度别太高 正文：稍微凉一点，更容易快速入睡。 配图元素：空调、温度计、被子 第5格 标题：4. 晚上别喝浓茶咖啡 正文：咖啡因会延迟困意，让你躺很久还睡不着。 配图元素：咖啡杯、茶杯、禁止符号 第6格 标题：5. 睡前洗个热水澡 正文：能让身体放松下来，入睡速度更快。 配图元素：浴室蒸汽、毛巾、热水 第7格 标题：6. 脑子停不下来就写下来 正文：把烦心事和待办清单写下，大脑会更容易放松。 配图元素：笔记本、钢笔、小台灯 第8格 标题：7. 固定上床时间 正文：每天差不多时间睡，生物钟会越来越稳定。 配图元素：时钟、月亮、床 第9格 标题：8. 试试深呼吸放松法 正文：吸气4秒，停4秒，呼气6秒，慢慢就有困意了。 底部小字：收藏这组，今晚试试看 配图元素：呼吸线条、闭眼人物、星星 画质要求： 高清，高级排版，杂志感，真实可发布，新媒体运营审美，小红书爆款图文风格，文字布局规整，适合直接切图。 [English] Generate a 3:4 vertical 9-grid poster suitable for publishing on Xiaohongshu, with an overall layout of 3 columns × 3 rows. The boundaries of the nine grids are clear, making it easy to directly cut into 9 single images for later publishing. The overall style is clean, premium, and unified, suitable for female-oriented healthy lifestyle content, possessing the vibe of a viral Xiaohongshu cover. Image requirements: clear information layout, large text, strong readability, comfortable white space, gentle and healing color palette. Overall visual style: Cream white, light beige, light oat color, and light caramel color as the main color tones, paired with a small amount of dark brown text. Ins style, healing sense, sleep therapy theme, minimalist layout, light skeuomorphic illustration embellishments. Elements such as pillows, moons, stars, hot milk, aromatherapy, books, eye masks, curtains, and beds can be added. The overall look should be like a professional new media design graphic, with neat fonts, suitable for a knowledge-based popular science Xiaohongshu 9-grid. Layout requirements: The entire image must be a standard 9-grid composition, and each grid can stand alone as an independent image after being cut. The content of each grid should be completely centered; do not place titles or body text near the dividing lines. Keep obvious gaps or thin borders between each grid to ensure that reading is not affected after cropping. All text must use Chinese, be clear and readable, no garbled characters, no English. Each grid should look like an independent Xiaohongshu image-and-text card, but the visual style must remain unified. The image should be exquisite, realistic, and natural, without a cheap marketing feel, and not overly flashy. Specific content of the 9-grid: Grid 1 (Cover) Main title: 8 tips to make you fall asleep instantly Subtitle: Insomniacs and night owls must save this The cover visuals should be the most eye-catching, suitable for the first image. Add healing sleep elements such as soft beds, moons, pillows, and eye masks. The title should be prominent with a premium layout. Grid 2 Title: 1. Don't play with your phone 1 hour before bed Body text: Blue light makes the brain more awake; the more you scroll, the harder it is to fall asleep. Image elements: Mobile phone, moon, small illustration of a sleepy expression Grid 3 Title: 2. Dim the lights before bed Body text: A warm light environment can help the body enter a "ready to sleep" state. Image elements: Bedside lamp, warm yellow light, curtains Grid 4 Title: 3. Don't keep the room temperature too high Body text: Keeping it a bit cooler makes it easier to fall asleep quickly. Image elements: Air conditioner, thermometer, quilt Grid 5 Title: 4. Don't drink strong tea or coffee at night Body text: Caffeine delays sleepiness, making you lie in bed for a long time unable to sleep. Image elements: Coffee cup, teacup, prohibition sign Grid 6 Title: 5. Take a hot shower before bed Body text: It can relax the body and help you fall asleep faster. Image elements: Bathroom steam, towel, hot water Grid 7 Title: 6. Write it down if your brain won't stop Body text: Writing down your worries and to-do lists makes it easier for your brain to relax. Image elements: Notebook, fountain pen, small desk lamp Grid 8 Title: 7. Fix your bedtime Body text: Going to bed at about the same time every day will make your biological clock increasingly stable. Image elements: Clock, moon, bed Grid 9 Title: 8. Try deep breathing relaxation Body text: Inhale for 4 seconds, hold for 4 seconds, exhale for 6 seconds, and sleepiness will gradually come. Bottom small text: Save this set and try it tonight Image elements: Breathing lines, person with closed eyes, stars Image quality requirements: High definition, premium layout, magazine feel, realistically publishable, new media operation aesthetics, Xiaohongshu viral image-and-text style, neat text layout, suitable for direct image cutting."

### Cursor

1. npx @runapi.ai/mcp init cursor
2. 重新啟動 Cursor
3. 貼上此提示：生成一張圖像："[中文] 生成一张适合小红书发布的 3:4 竖版九宫格海报，整体为 3列 × 3行 排版，九个宫格边界清晰，方便后期直接切割成 9 张单图发布。整体风格干净、高级、统一，适合女性向健康生活方式内容，具有小红书爆款封面气质。画面要求 信息排版清晰、文字大、可读性强、留白舒服、配色温柔治愈。 整体视觉风格： 奶油白、浅米色、淡燕麦色、浅焦糖色为主色调，搭配少量深棕色文字，ins风、治愈感、睡眠疗愈主题，简约排版，轻拟物插画点缀，可加入枕头、月亮、星星、热牛奶、香薰、书本、眼罩、窗帘、床铺等元素。整体像专业新媒体设计图，字体工整，适合做知识科普类小红书九宫格。 排版要求： 整张图必须是标准九宫格构图，切分后每一格都能独立成图 每个宫格内容完整居中，不要把标题或正文压在分割线附近 每个格子之间保留明显间隔或细边框，保证裁切后不影响阅读 所有文字使用中文，清晰易读，不要乱码，不要英文 每个宫格都像独立的小红书图文卡片，但视觉风格保持统一 画面精致、真实、自然，不要廉价营销感，不要过度花哨 九宫格具体内容： 第1格（封面） 大标题：让你倒头就睡的8个 tips 副标题：失眠党、熬夜党一定要收藏 封面视觉最吸睛，适合做首图，加入柔软床铺、月亮、枕头、眼罩等治愈睡眠元素，标题突出，排版高级。 第2格 标题：1. 睡前1小时别玩手机 正文：蓝光会让大脑更清醒，越刷越睡不着。 配图元素：手机、月亮、困倦表情的小插画 第3格 标题：2. 睡前把灯光调暗 正文：暖光环境能帮助身体进入“准备睡觉”的状态。 配图元素：床头灯、暖黄色灯光、窗帘 第4格 标题：3. 房间温度别太高 正文：稍微凉一点，更容易快速入睡。 配图元素：空调、温度计、被子 第5格 标题：4. 晚上别喝浓茶咖啡 正文：咖啡因会延迟困意，让你躺很久还睡不着。 配图元素：咖啡杯、茶杯、禁止符号 第6格 标题：5. 睡前洗个热水澡 正文：能让身体放松下来，入睡速度更快。 配图元素：浴室蒸汽、毛巾、热水 第7格 标题：6. 脑子停不下来就写下来 正文：把烦心事和待办清单写下，大脑会更容易放松。 配图元素：笔记本、钢笔、小台灯 第8格 标题：7. 固定上床时间 正文：每天差不多时间睡，生物钟会越来越稳定。 配图元素：时钟、月亮、床 第9格 标题：8. 试试深呼吸放松法 正文：吸气4秒，停4秒，呼气6秒，慢慢就有困意了。 底部小字：收藏这组，今晚试试看 配图元素：呼吸线条、闭眼人物、星星 画质要求： 高清，高级排版，杂志感，真实可发布，新媒体运营审美，小红书爆款图文风格，文字布局规整，适合直接切图。 [English] Generate a 3:4 vertical 9-grid poster suitable for publishing on Xiaohongshu, with an overall layout of 3 columns × 3 rows. The boundaries of the nine grids are clear, making it easy to directly cut into 9 single images for later publishing. The overall style is clean, premium, and unified, suitable for female-oriented healthy lifestyle content, possessing the vibe of a viral Xiaohongshu cover. Image requirements: clear information layout, large text, strong readability, comfortable white space, gentle and healing color palette. Overall visual style: Cream white, light beige, light oat color, and light caramel color as the main color tones, paired with a small amount of dark brown text. Ins style, healing sense, sleep therapy theme, minimalist layout, light skeuomorphic illustration embellishments. Elements such as pillows, moons, stars, hot milk, aromatherapy, books, eye masks, curtains, and beds can be added. The overall look should be like a professional new media design graphic, with neat fonts, suitable for a knowledge-based popular science Xiaohongshu 9-grid. Layout requirements: The entire image must be a standard 9-grid composition, and each grid can stand alone as an independent image after being cut. The content of each grid should be completely centered; do not place titles or body text near the dividing lines. Keep obvious gaps or thin borders between each grid to ensure that reading is not affected after cropping. All text must use Chinese, be clear and readable, no garbled characters, no English. Each grid should look like an independent Xiaohongshu image-and-text card, but the visual style must remain unified. The image should be exquisite, realistic, and natural, without a cheap marketing feel, and not overly flashy. Specific content of the 9-grid: Grid 1 (Cover) Main title: 8 tips to make you fall asleep instantly Subtitle: Insomniacs and night owls must save this The cover visuals should be the most eye-catching, suitable for the first image. Add healing sleep elements such as soft beds, moons, pillows, and eye masks. The title should be prominent with a premium layout. Grid 2 Title: 1. Don't play with your phone 1 hour before bed Body text: Blue light makes the brain more awake; the more you scroll, the harder it is to fall asleep. Image elements: Mobile phone, moon, small illustration of a sleepy expression Grid 3 Title: 2. Dim the lights before bed Body text: A warm light environment can help the body enter a "ready to sleep" state. Image elements: Bedside lamp, warm yellow light, curtains Grid 4 Title: 3. Don't keep the room temperature too high Body text: Keeping it a bit cooler makes it easier to fall asleep quickly. Image elements: Air conditioner, thermometer, quilt Grid 5 Title: 4. Don't drink strong tea or coffee at night Body text: Caffeine delays sleepiness, making you lie in bed for a long time unable to sleep. Image elements: Coffee cup, teacup, prohibition sign Grid 6 Title: 5. Take a hot shower before bed Body text: It can relax the body and help you fall asleep faster. Image elements: Bathroom steam, towel, hot water Grid 7 Title: 6. Write it down if your brain won't stop Body text: Writing down your worries and to-do lists makes it easier for your brain to relax. Image elements: Notebook, fountain pen, small desk lamp Grid 8 Title: 7. Fix your bedtime Body text: Going to bed at about the same time every day will make your biological clock increasingly stable. Image elements: Clock, moon, bed Grid 9 Title: 8. Try deep breathing relaxation Body text: Inhale for 4 seconds, hold for 4 seconds, exhale for 6 seconds, and sleepiness will gradually come. Bottom small text: Save this set and try it tonight Image elements: Breathing lines, person with closed eyes, stars Image quality requirements: High definition, premium layout, magazine feel, realistically publishable, new media operation aesthetics, Xiaohongshu viral image-and-text style, neat text layout, suitable for direct image cutting."

### Windsurf

1. npx @runapi.ai/mcp init windsurf
2. 重新啟動 Windsurf
3. 貼上此提示：生成一張圖像："[中文] 生成一张适合小红书发布的 3:4 竖版九宫格海报，整体为 3列 × 3行 排版，九个宫格边界清晰，方便后期直接切割成 9 张单图发布。整体风格干净、高级、统一，适合女性向健康生活方式内容，具有小红书爆款封面气质。画面要求 信息排版清晰、文字大、可读性强、留白舒服、配色温柔治愈。 整体视觉风格： 奶油白、浅米色、淡燕麦色、浅焦糖色为主色调，搭配少量深棕色文字，ins风、治愈感、睡眠疗愈主题，简约排版，轻拟物插画点缀，可加入枕头、月亮、星星、热牛奶、香薰、书本、眼罩、窗帘、床铺等元素。整体像专业新媒体设计图，字体工整，适合做知识科普类小红书九宫格。 排版要求： 整张图必须是标准九宫格构图，切分后每一格都能独立成图 每个宫格内容完整居中，不要把标题或正文压在分割线附近 每个格子之间保留明显间隔或细边框，保证裁切后不影响阅读 所有文字使用中文，清晰易读，不要乱码，不要英文 每个宫格都像独立的小红书图文卡片，但视觉风格保持统一 画面精致、真实、自然，不要廉价营销感，不要过度花哨 九宫格具体内容： 第1格（封面） 大标题：让你倒头就睡的8个 tips 副标题：失眠党、熬夜党一定要收藏 封面视觉最吸睛，适合做首图，加入柔软床铺、月亮、枕头、眼罩等治愈睡眠元素，标题突出，排版高级。 第2格 标题：1. 睡前1小时别玩手机 正文：蓝光会让大脑更清醒，越刷越睡不着。 配图元素：手机、月亮、困倦表情的小插画 第3格 标题：2. 睡前把灯光调暗 正文：暖光环境能帮助身体进入“准备睡觉”的状态。 配图元素：床头灯、暖黄色灯光、窗帘 第4格 标题：3. 房间温度别太高 正文：稍微凉一点，更容易快速入睡。 配图元素：空调、温度计、被子 第5格 标题：4. 晚上别喝浓茶咖啡 正文：咖啡因会延迟困意，让你躺很久还睡不着。 配图元素：咖啡杯、茶杯、禁止符号 第6格 标题：5. 睡前洗个热水澡 正文：能让身体放松下来，入睡速度更快。 配图元素：浴室蒸汽、毛巾、热水 第7格 标题：6. 脑子停不下来就写下来 正文：把烦心事和待办清单写下，大脑会更容易放松。 配图元素：笔记本、钢笔、小台灯 第8格 标题：7. 固定上床时间 正文：每天差不多时间睡，生物钟会越来越稳定。 配图元素：时钟、月亮、床 第9格 标题：8. 试试深呼吸放松法 正文：吸气4秒，停4秒，呼气6秒，慢慢就有困意了。 底部小字：收藏这组，今晚试试看 配图元素：呼吸线条、闭眼人物、星星 画质要求： 高清，高级排版，杂志感，真实可发布，新媒体运营审美，小红书爆款图文风格，文字布局规整，适合直接切图。 [English] Generate a 3:4 vertical 9-grid poster suitable for publishing on Xiaohongshu, with an overall layout of 3 columns × 3 rows. The boundaries of the nine grids are clear, making it easy to directly cut into 9 single images for later publishing. The overall style is clean, premium, and unified, suitable for female-oriented healthy lifestyle content, possessing the vibe of a viral Xiaohongshu cover. Image requirements: clear information layout, large text, strong readability, comfortable white space, gentle and healing color palette. Overall visual style: Cream white, light beige, light oat color, and light caramel color as the main color tones, paired with a small amount of dark brown text. Ins style, healing sense, sleep therapy theme, minimalist layout, light skeuomorphic illustration embellishments. Elements such as pillows, moons, stars, hot milk, aromatherapy, books, eye masks, curtains, and beds can be added. The overall look should be like a professional new media design graphic, with neat fonts, suitable for a knowledge-based popular science Xiaohongshu 9-grid. Layout requirements: The entire image must be a standard 9-grid composition, and each grid can stand alone as an independent image after being cut. The content of each grid should be completely centered; do not place titles or body text near the dividing lines. Keep obvious gaps or thin borders between each grid to ensure that reading is not affected after cropping. All text must use Chinese, be clear and readable, no garbled characters, no English. Each grid should look like an independent Xiaohongshu image-and-text card, but the visual style must remain unified. The image should be exquisite, realistic, and natural, without a cheap marketing feel, and not overly flashy. Specific content of the 9-grid: Grid 1 (Cover) Main title: 8 tips to make you fall asleep instantly Subtitle: Insomniacs and night owls must save this The cover visuals should be the most eye-catching, suitable for the first image. Add healing sleep elements such as soft beds, moons, pillows, and eye masks. The title should be prominent with a premium layout. Grid 2 Title: 1. Don't play with your phone 1 hour before bed Body text: Blue light makes the brain more awake; the more you scroll, the harder it is to fall asleep. Image elements: Mobile phone, moon, small illustration of a sleepy expression Grid 3 Title: 2. Dim the lights before bed Body text: A warm light environment can help the body enter a "ready to sleep" state. Image elements: Bedside lamp, warm yellow light, curtains Grid 4 Title: 3. Don't keep the room temperature too high Body text: Keeping it a bit cooler makes it easier to fall asleep quickly. Image elements: Air conditioner, thermometer, quilt Grid 5 Title: 4. Don't drink strong tea or coffee at night Body text: Caffeine delays sleepiness, making you lie in bed for a long time unable to sleep. Image elements: Coffee cup, teacup, prohibition sign Grid 6 Title: 5. Take a hot shower before bed Body text: It can relax the body and help you fall asleep faster. Image elements: Bathroom steam, towel, hot water Grid 7 Title: 6. Write it down if your brain won't stop Body text: Writing down your worries and to-do lists makes it easier for your brain to relax. Image elements: Notebook, fountain pen, small desk lamp Grid 8 Title: 7. Fix your bedtime Body text: Going to bed at about the same time every day will make your biological clock increasingly stable. Image elements: Clock, moon, bed Grid 9 Title: 8. Try deep breathing relaxation Body text: Inhale for 4 seconds, hold for 4 seconds, exhale for 6 seconds, and sleepiness will gradually come. Bottom small text: Save this set and try it tonight Image elements: Breathing lines, person with closed eyes, stars Image quality requirements: High definition, premium layout, magazine feel, realistically publishable, new media operation aesthetics, Xiaohongshu viral image-and-text style, neat text layout, suitable for direct image cutting."

<!-- api-example-tabs-slot -->

<!-- ## API examples -->
## Generate via API

### curl

```curl
curl -X POST https://runapi.ai/api/v1/gpt_image_2/text_to_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "gpt-image-2",
  "prompt": "[中文] 生成一张适合小红书发布的 3:4 竖版九宫格海报，整体为 3列 × 3行 排版，九个宫格边界清晰，方便后期直接切割成 9 张单图发布。整体风格干净、高级、统一，适合女性向健康生活方式内容，具有小红书爆款封面气质。画面要求 信息排版清晰、文字大、可读性强、留白舒服、配色温柔治愈。 整体视觉风格： 奶油白、浅米色、淡燕麦色、浅焦糖色为主色调，搭配少量深棕色文字，ins风、治愈感、睡眠疗愈主题，简约排版，轻拟物插画点缀，可加入枕头、月亮、星星、热牛奶、香薰、书本、眼罩、窗帘、床铺等元素。整体像专业新媒体设计图，字体工整，适合做知识科普类小红书九宫格。 排版要求： 整张图必须是标准九宫格构图，切分后每一格都能独立成图 每个宫格内容完整居中，不要把标题或正文压在分割线附近 每个格子之间保留明显间隔或细边框，保证裁切后不影响阅读 所有文字使用中文，清晰易读，不要乱码，不要英文 每个宫格都像独立的小红书图文卡片，但视觉风格保持统一 画面精致、真实、自然，不要廉价营销感，不要过度花哨 九宫格具体内容： 第1格（封面） 大标题：让你倒头就睡的8个 tips 副标题：失眠党、熬夜党一定要收藏 封面视觉最吸睛，适合做首图，加入柔软床铺、月亮、枕头、眼罩等治愈睡眠元素，标题突出，排版高级。 第2格 标题：1. 睡前1小时别玩手机 正文：蓝光会让大脑更清醒，越刷越睡不着。 配图元素：手机、月亮、困倦表情的小插画 第3格 标题：2. 睡前把灯光调暗 正文：暖光环境能帮助身体进入“准备睡觉”的状态。 配图元素：床头灯、暖黄色灯光、窗帘 第4格 标题：3. 房间温度别太高 正文：稍微凉一点，更容易快速入睡。 配图元素：空调、温度计、被子 第5格 标题：4. 晚上别喝浓茶咖啡 正文：咖啡因会延迟困意，让你躺很久还睡不着。 配图元素：咖啡杯、茶杯、禁止符号 第6格 标题：5. 睡前洗个热水澡 正文：能让身体放松下来，入睡速度更快。 配图元素：浴室蒸汽、毛巾、热水 第7格 标题：6. 脑子停不下来就写下来 正文：把烦心事和待办清单写下，大脑会更容易放松。 配图元素：笔记本、钢笔、小台灯 第8格 标题：7. 固定上床时间 正文：每天差不多时间睡，生物钟会越来越稳定。 配图元素：时钟、月亮、床 第9格 标题：8. 试试深呼吸放松法 正文：吸气4秒，停4秒，呼气6秒，慢慢就有困意了。 底部小字：收藏这组，今晚试试看 配图元素：呼吸线条、闭眼人物、星星 画质要求： 高清，高级排版，杂志感，真实可发布，新媒体运营审美，小红书爆款图文风格，文字布局规整，适合直接切图。 [English] Generate a 3:4 vertical 9-grid poster suitable for publishing on Xiaohongshu, with an overall layout of 3 columns × 3 rows. The boundaries of the nine grids are clear, making it easy to directly cut into 9 single images for later publishing. The overall style is clean, premium, and unified, suitable for female-oriented healthy lifestyle content, possessing the vibe of a viral Xiaohongshu cover. Image requirements: clear information layout, large text, strong readability, comfortable white space, gentle and healing color palette. Overall visual style: Cream white, light beige, light oat color, and light caramel color as the main color tones, paired with a small amount of dark brown text. Ins style, healing sense, sleep therapy theme, minimalist layout, light skeuomorphic illustration embellishments. Elements such as pillows, moons, stars, hot milk, aromatherapy, books, eye masks, curtains, and beds can be added. The overall look should be like a professional new media design graphic, with neat fonts, suitable for a knowledge-based popular science Xiaohongshu 9-grid. Layout requirements: The entire image must be a standard 9-grid composition, and each grid can stand alone as an independent image after being cut. The content of each grid should be completely centered; do not place titles or body text near the dividing lines. Keep obvious gaps or thin borders between each grid to ensure that reading is not affected after cropping. All text must use Chinese, be clear and readable, no garbled characters, no English. Each grid should look like an independent Xiaohongshu image-and-text card, but the visual style must remain unified. The image should be exquisite, realistic, and natural, without a cheap marketing feel, and not overly flashy. Specific content of the 9-grid: Grid 1 (Cover) Main title: 8 tips to make you fall asleep instantly Subtitle: Insomniacs and night owls must save this The cover visuals should be the most eye-catching, suitable for the first image. Add healing sleep elements such as soft beds, moons, pillows, and eye masks. The title should be prominent with a premium layout. Grid 2 Title: 1. Don't play with your phone 1 hour before bed Body text: Blue light makes the brain more awake; the more you scroll, the harder it is to fall asleep. Image elements: Mobile phone, moon, small illustration of a sleepy expression Grid 3 Title: 2. Dim the lights before bed Body text: A warm light environment can help the body enter a \"ready to sleep\" state. Image elements: Bedside lamp, warm yellow light, curtains Grid 4 Title: 3. Don't keep the room temperature too high Body text: Keeping it a bit cooler makes it easier to fall asleep quickly. Image elements: Air conditioner, thermometer, quilt Grid 5 Title: 4. Don't drink strong tea or coffee at night Body text: Caffeine delays sleepiness, making you lie in bed for a long time unable to sleep. Image elements: Coffee cup, teacup, prohibition sign Grid 6 Title: 5. Take a hot shower before bed Body text: It can relax the body and help you fall asleep faster. Image elements: Bathroom steam, towel, hot water Grid 7 Title: 6. Write it down if your brain won't stop Body text: Writing down your worries and to-do lists makes it easier for your brain to relax. Image elements: Notebook, fountain pen, small desk lamp Grid 8 Title: 7. Fix your bedtime Body text: Going to bed at about the same time every day will make your biological clock increasingly stable. Image elements: Clock, moon, bed Grid 9 Title: 8. Try deep breathing relaxation Body text: Inhale for 4 seconds, hold for 4 seconds, exhale for 6 seconds, and sleepiness will gradually come. Bottom small text: Save this set and try it tonight Image elements: Breathing lines, person with closed eyes, stars Image quality requirements: High definition, premium layout, magazine feel, realistically publishable, new media operation aesthetics, Xiaohongshu viral image-and-text style, neat text layout, suitable for direct image cutting."
}
JSON
```

### Node.js

```javascript
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": "[中文] 生成一张适合小红书发布的 3:4 竖版九宫格海报，整体为 3列 × 3行 排版，九个宫格边界清晰，方便后期直接切割成 9 张单图发布。整体风格干净、高级、统一，适合女性向健康生活方式内容，具有小红书爆款封面气质。画面要求 信息排版清晰、文字大、可读性强、留白舒服、配色温柔治愈。 整体视觉风格： 奶油白、浅米色、淡燕麦色、浅焦糖色为主色调，搭配少量深棕色文字，ins风、治愈感、睡眠疗愈主题，简约排版，轻拟物插画点缀，可加入枕头、月亮、星星、热牛奶、香薰、书本、眼罩、窗帘、床铺等元素。整体像专业新媒体设计图，字体工整，适合做知识科普类小红书九宫格。 排版要求： 整张图必须是标准九宫格构图，切分后每一格都能独立成图 每个宫格内容完整居中，不要把标题或正文压在分割线附近 每个格子之间保留明显间隔或细边框，保证裁切后不影响阅读 所有文字使用中文，清晰易读，不要乱码，不要英文 每个宫格都像独立的小红书图文卡片，但视觉风格保持统一 画面精致、真实、自然，不要廉价营销感，不要过度花哨 九宫格具体内容： 第1格（封面） 大标题：让你倒头就睡的8个 tips 副标题：失眠党、熬夜党一定要收藏 封面视觉最吸睛，适合做首图，加入柔软床铺、月亮、枕头、眼罩等治愈睡眠元素，标题突出，排版高级。 第2格 标题：1. 睡前1小时别玩手机 正文：蓝光会让大脑更清醒，越刷越睡不着。 配图元素：手机、月亮、困倦表情的小插画 第3格 标题：2. 睡前把灯光调暗 正文：暖光环境能帮助身体进入“准备睡觉”的状态。 配图元素：床头灯、暖黄色灯光、窗帘 第4格 标题：3. 房间温度别太高 正文：稍微凉一点，更容易快速入睡。 配图元素：空调、温度计、被子 第5格 标题：4. 晚上别喝浓茶咖啡 正文：咖啡因会延迟困意，让你躺很久还睡不着。 配图元素：咖啡杯、茶杯、禁止符号 第6格 标题：5. 睡前洗个热水澡 正文：能让身体放松下来，入睡速度更快。 配图元素：浴室蒸汽、毛巾、热水 第7格 标题：6. 脑子停不下来就写下来 正文：把烦心事和待办清单写下，大脑会更容易放松。 配图元素：笔记本、钢笔、小台灯 第8格 标题：7. 固定上床时间 正文：每天差不多时间睡，生物钟会越来越稳定。 配图元素：时钟、月亮、床 第9格 标题：8. 试试深呼吸放松法 正文：吸气4秒，停4秒，呼气6秒，慢慢就有困意了。 底部小字：收藏这组，今晚试试看 配图元素：呼吸线条、闭眼人物、星星 画质要求： 高清，高级排版，杂志感，真实可发布，新媒体运营审美，小红书爆款图文风格，文字布局规整，适合直接切图。 [English] Generate a 3:4 vertical 9-grid poster suitable for publishing on Xiaohongshu, with an overall layout of 3 columns × 3 rows. The boundaries of the nine grids are clear, making it easy to directly cut into 9 single images for later publishing. The overall style is clean, premium, and unified, suitable for female-oriented healthy lifestyle content, possessing the vibe of a viral Xiaohongshu cover. Image requirements: clear information layout, large text, strong readability, comfortable white space, gentle and healing color palette. Overall visual style: Cream white, light beige, light oat color, and light caramel color as the main color tones, paired with a small amount of dark brown text. Ins style, healing sense, sleep therapy theme, minimalist layout, light skeuomorphic illustration embellishments. Elements such as pillows, moons, stars, hot milk, aromatherapy, books, eye masks, curtains, and beds can be added. The overall look should be like a professional new media design graphic, with neat fonts, suitable for a knowledge-based popular science Xiaohongshu 9-grid. Layout requirements: The entire image must be a standard 9-grid composition, and each grid can stand alone as an independent image after being cut. The content of each grid should be completely centered; do not place titles or body text near the dividing lines. Keep obvious gaps or thin borders between each grid to ensure that reading is not affected after cropping. All text must use Chinese, be clear and readable, no garbled characters, no English. Each grid should look like an independent Xiaohongshu image-and-text card, but the visual style must remain unified. The image should be exquisite, realistic, and natural, without a cheap marketing feel, and not overly flashy. Specific content of the 9-grid: Grid 1 (Cover) Main title: 8 tips to make you fall asleep instantly Subtitle: Insomniacs and night owls must save this The cover visuals should be the most eye-catching, suitable for the first image. Add healing sleep elements such as soft beds, moons, pillows, and eye masks. The title should be prominent with a premium layout. Grid 2 Title: 1. Don't play with your phone 1 hour before bed Body text: Blue light makes the brain more awake; the more you scroll, the harder it is to fall asleep. Image elements: Mobile phone, moon, small illustration of a sleepy expression Grid 3 Title: 2. Dim the lights before bed Body text: A warm light environment can help the body enter a \"ready to sleep\" state. Image elements: Bedside lamp, warm yellow light, curtains Grid 4 Title: 3. Don't keep the room temperature too high Body text: Keeping it a bit cooler makes it easier to fall asleep quickly. Image elements: Air conditioner, thermometer, quilt Grid 5 Title: 4. Don't drink strong tea or coffee at night Body text: Caffeine delays sleepiness, making you lie in bed for a long time unable to sleep. Image elements: Coffee cup, teacup, prohibition sign Grid 6 Title: 5. Take a hot shower before bed Body text: It can relax the body and help you fall asleep faster. Image elements: Bathroom steam, towel, hot water Grid 7 Title: 6. Write it down if your brain won't stop Body text: Writing down your worries and to-do lists makes it easier for your brain to relax. Image elements: Notebook, fountain pen, small desk lamp Grid 8 Title: 7. Fix your bedtime Body text: Going to bed at about the same time every day will make your biological clock increasingly stable. Image elements: Clock, moon, bed Grid 9 Title: 8. Try deep breathing relaxation Body text: Inhale for 4 seconds, hold for 4 seconds, exhale for 6 seconds, and sleepiness will gradually come. Bottom small text: Save this set and try it tonight Image elements: Breathing lines, person with closed eyes, stars Image quality requirements: High definition, premium layout, magazine feel, realistically publishable, new media operation aesthetics, Xiaohongshu viral image-and-text style, neat text layout, suitable for direct image cutting."
});
console.log(result.id);
```

### Python

```python
import json
import os
import requests

response = requests.post(
    "https://runapi.ai/api/v1/gpt_image_2/text_to_image",
    headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
    json=json.loads("{\n  \"model\": \"gpt-image-2\",\n  \"prompt\": \"[中文] 生成一张适合小红书发布的 3:4 竖版九宫格海报，整体为 3列 × 3行 排版，九个宫格边界清晰，方便后期直接切割成 9 张单图发布。整体风格干净、高级、统一，适合女性向健康生活方式内容，具有小红书爆款封面气质。画面要求 信息排版清晰、文字大、可读性强、留白舒服、配色温柔治愈。 整体视觉风格： 奶油白、浅米色、淡燕麦色、浅焦糖色为主色调，搭配少量深棕色文字，ins风、治愈感、睡眠疗愈主题，简约排版，轻拟物插画点缀，可加入枕头、月亮、星星、热牛奶、香薰、书本、眼罩、窗帘、床铺等元素。整体像专业新媒体设计图，字体工整，适合做知识科普类小红书九宫格。 排版要求： 整张图必须是标准九宫格构图，切分后每一格都能独立成图 每个宫格内容完整居中，不要把标题或正文压在分割线附近 每个格子之间保留明显间隔或细边框，保证裁切后不影响阅读 所有文字使用中文，清晰易读，不要乱码，不要英文 每个宫格都像独立的小红书图文卡片，但视觉风格保持统一 画面精致、真实、自然，不要廉价营销感，不要过度花哨 九宫格具体内容： 第1格（封面） 大标题：让你倒头就睡的8个 tips 副标题：失眠党、熬夜党一定要收藏 封面视觉最吸睛，适合做首图，加入柔软床铺、月亮、枕头、眼罩等治愈睡眠元素，标题突出，排版高级。 第2格 标题：1. 睡前1小时别玩手机 正文：蓝光会让大脑更清醒，越刷越睡不着。 配图元素：手机、月亮、困倦表情的小插画 第3格 标题：2. 睡前把灯光调暗 正文：暖光环境能帮助身体进入“准备睡觉”的状态。 配图元素：床头灯、暖黄色灯光、窗帘 第4格 标题：3. 房间温度别太高 正文：稍微凉一点，更容易快速入睡。 配图元素：空调、温度计、被子 第5格 标题：4. 晚上别喝浓茶咖啡 正文：咖啡因会延迟困意，让你躺很久还睡不着。 配图元素：咖啡杯、茶杯、禁止符号 第6格 标题：5. 睡前洗个热水澡 正文：能让身体放松下来，入睡速度更快。 配图元素：浴室蒸汽、毛巾、热水 第7格 标题：6. 脑子停不下来就写下来 正文：把烦心事和待办清单写下，大脑会更容易放松。 配图元素：笔记本、钢笔、小台灯 第8格 标题：7. 固定上床时间 正文：每天差不多时间睡，生物钟会越来越稳定。 配图元素：时钟、月亮、床 第9格 标题：8. 试试深呼吸放松法 正文：吸气4秒，停4秒，呼气6秒，慢慢就有困意了。 底部小字：收藏这组，今晚试试看 配图元素：呼吸线条、闭眼人物、星星 画质要求： 高清，高级排版，杂志感，真实可发布，新媒体运营审美，小红书爆款图文风格，文字布局规整，适合直接切图。 [English] Generate a 3:4 vertical 9-grid poster suitable for publishing on Xiaohongshu, with an overall layout of 3 columns × 3 rows. The boundaries of the nine grids are clear, making it easy to directly cut into 9 single images for later publishing. The overall style is clean, premium, and unified, suitable for female-oriented healthy lifestyle content, possessing the vibe of a viral Xiaohongshu cover. Image requirements: clear information layout, large text, strong readability, comfortable white space, gentle and healing color palette. Overall visual style: Cream white, light beige, light oat color, and light caramel color as the main color tones, paired with a small amount of dark brown text. Ins style, healing sense, sleep therapy theme, minimalist layout, light skeuomorphic illustration embellishments. Elements such as pillows, moons, stars, hot milk, aromatherapy, books, eye masks, curtains, and beds can be added. The overall look should be like a professional new media design graphic, with neat fonts, suitable for a knowledge-based popular science Xiaohongshu 9-grid. Layout requirements: The entire image must be a standard 9-grid composition, and each grid can stand alone as an independent image after being cut. The content of each grid should be completely centered; do not place titles or body text near the dividing lines. Keep obvious gaps or thin borders between each grid to ensure that reading is not affected after cropping. All text must use Chinese, be clear and readable, no garbled characters, no English. Each grid should look like an independent Xiaohongshu image-and-text card, but the visual style must remain unified. The image should be exquisite, realistic, and natural, without a cheap marketing feel, and not overly flashy. Specific content of the 9-grid: Grid 1 (Cover) Main title: 8 tips to make you fall asleep instantly Subtitle: Insomniacs and night owls must save this The cover visuals should be the most eye-catching, suitable for the first image. Add healing sleep elements such as soft beds, moons, pillows, and eye masks. The title should be prominent with a premium layout. Grid 2 Title: 1. Don't play with your phone 1 hour before bed Body text: Blue light makes the brain more awake; the more you scroll, the harder it is to fall asleep. Image elements: Mobile phone, moon, small illustration of a sleepy expression Grid 3 Title: 2. Dim the lights before bed Body text: A warm light environment can help the body enter a \\\"ready to sleep\\\" state. Image elements: Bedside lamp, warm yellow light, curtains Grid 4 Title: 3. Don't keep the room temperature too high Body text: Keeping it a bit cooler makes it easier to fall asleep quickly. Image elements: Air conditioner, thermometer, quilt Grid 5 Title: 4. Don't drink strong tea or coffee at night Body text: Caffeine delays sleepiness, making you lie in bed for a long time unable to sleep. Image elements: Coffee cup, teacup, prohibition sign Grid 6 Title: 5. Take a hot shower before bed Body text: It can relax the body and help you fall asleep faster. Image elements: Bathroom steam, towel, hot water Grid 7 Title: 6. Write it down if your brain won't stop Body text: Writing down your worries and to-do lists makes it easier for your brain to relax. Image elements: Notebook, fountain pen, small desk lamp Grid 8 Title: 7. Fix your bedtime Body text: Going to bed at about the same time every day will make your biological clock increasingly stable. Image elements: Clock, moon, bed Grid 9 Title: 8. Try deep breathing relaxation Body text: Inhale for 4 seconds, hold for 4 seconds, exhale for 6 seconds, and sleepiness will gradually come. Bottom small text: Save this set and try it tonight Image elements: Breathing lines, person with closed eyes, stars Image quality requirements: High definition, premium layout, magazine feel, realistically publishable, new media operation aesthetics, Xiaohongshu viral image-and-text style, neat text layout, suitable for direct image cutting.\"\n}")
)
response.raise_for_status()
print(response.json()["id"])
```

### PHP

```php
<?php

$ch = curl_init("https://runapi.ai/api/v1/gpt_image_2/text_to_image");
curl_setopt_array($ch, [
    CURLOPT_POST => true,
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer " . getenv("RUNAPI_API_KEY"),
        "Content-Type: application/json",
    ],
    CURLOPT_POSTFIELDS => "{\n  \"model\": \"gpt-image-2\",\n  \"prompt\": \"[中文] 生成一张适合小红书发布的 3:4 竖版九宫格海报，整体为 3列 × 3行 排版，九个宫格边界清晰，方便后期直接切割成 9 张单图发布。整体风格干净、高级、统一，适合女性向健康生活方式内容，具有小红书爆款封面气质。画面要求 信息排版清晰、文字大、可读性强、留白舒服、配色温柔治愈。 整体视觉风格： 奶油白、浅米色、淡燕麦色、浅焦糖色为主色调，搭配少量深棕色文字，ins风、治愈感、睡眠疗愈主题，简约排版，轻拟物插画点缀，可加入枕头、月亮、星星、热牛奶、香薰、书本、眼罩、窗帘、床铺等元素。整体像专业新媒体设计图，字体工整，适合做知识科普类小红书九宫格。 排版要求： 整张图必须是标准九宫格构图，切分后每一格都能独立成图 每个宫格内容完整居中，不要把标题或正文压在分割线附近 每个格子之间保留明显间隔或细边框，保证裁切后不影响阅读 所有文字使用中文，清晰易读，不要乱码，不要英文 每个宫格都像独立的小红书图文卡片，但视觉风格保持统一 画面精致、真实、自然，不要廉价营销感，不要过度花哨 九宫格具体内容： 第1格（封面） 大标题：让你倒头就睡的8个 tips 副标题：失眠党、熬夜党一定要收藏 封面视觉最吸睛，适合做首图，加入柔软床铺、月亮、枕头、眼罩等治愈睡眠元素，标题突出，排版高级。 第2格 标题：1. 睡前1小时别玩手机 正文：蓝光会让大脑更清醒，越刷越睡不着。 配图元素：手机、月亮、困倦表情的小插画 第3格 标题：2. 睡前把灯光调暗 正文：暖光环境能帮助身体进入“准备睡觉”的状态。 配图元素：床头灯、暖黄色灯光、窗帘 第4格 标题：3. 房间温度别太高 正文：稍微凉一点，更容易快速入睡。 配图元素：空调、温度计、被子 第5格 标题：4. 晚上别喝浓茶咖啡 正文：咖啡因会延迟困意，让你躺很久还睡不着。 配图元素：咖啡杯、茶杯、禁止符号 第6格 标题：5. 睡前洗个热水澡 正文：能让身体放松下来，入睡速度更快。 配图元素：浴室蒸汽、毛巾、热水 第7格 标题：6. 脑子停不下来就写下来 正文：把烦心事和待办清单写下，大脑会更容易放松。 配图元素：笔记本、钢笔、小台灯 第8格 标题：7. 固定上床时间 正文：每天差不多时间睡，生物钟会越来越稳定。 配图元素：时钟、月亮、床 第9格 标题：8. 试试深呼吸放松法 正文：吸气4秒，停4秒，呼气6秒，慢慢就有困意了。 底部小字：收藏这组，今晚试试看 配图元素：呼吸线条、闭眼人物、星星 画质要求： 高清，高级排版，杂志感，真实可发布，新媒体运营审美，小红书爆款图文风格，文字布局规整，适合直接切图。 [English] Generate a 3:4 vertical 9-grid poster suitable for publishing on Xiaohongshu, with an overall layout of 3 columns × 3 rows. The boundaries of the nine grids are clear, making it easy to directly cut into 9 single images for later publishing. The overall style is clean, premium, and unified, suitable for female-oriented healthy lifestyle content, possessing the vibe of a viral Xiaohongshu cover. Image requirements: clear information layout, large text, strong readability, comfortable white space, gentle and healing color palette. Overall visual style: Cream white, light beige, light oat color, and light caramel color as the main color tones, paired with a small amount of dark brown text. Ins style, healing sense, sleep therapy theme, minimalist layout, light skeuomorphic illustration embellishments. Elements such as pillows, moons, stars, hot milk, aromatherapy, books, eye masks, curtains, and beds can be added. The overall look should be like a professional new media design graphic, with neat fonts, suitable for a knowledge-based popular science Xiaohongshu 9-grid. Layout requirements: The entire image must be a standard 9-grid composition, and each grid can stand alone as an independent image after being cut. The content of each grid should be completely centered; do not place titles or body text near the dividing lines. Keep obvious gaps or thin borders between each grid to ensure that reading is not affected after cropping. All text must use Chinese, be clear and readable, no garbled characters, no English. Each grid should look like an independent Xiaohongshu image-and-text card, but the visual style must remain unified. The image should be exquisite, realistic, and natural, without a cheap marketing feel, and not overly flashy. Specific content of the 9-grid: Grid 1 (Cover) Main title: 8 tips to make you fall asleep instantly Subtitle: Insomniacs and night owls must save this The cover visuals should be the most eye-catching, suitable for the first image. Add healing sleep elements such as soft beds, moons, pillows, and eye masks. The title should be prominent with a premium layout. Grid 2 Title: 1. Don't play with your phone 1 hour before bed Body text: Blue light makes the brain more awake; the more you scroll, the harder it is to fall asleep. Image elements: Mobile phone, moon, small illustration of a sleepy expression Grid 3 Title: 2. Dim the lights before bed Body text: A warm light environment can help the body enter a \\\"ready to sleep\\\" state. Image elements: Bedside lamp, warm yellow light, curtains Grid 4 Title: 3. Don't keep the room temperature too high Body text: Keeping it a bit cooler makes it easier to fall asleep quickly. Image elements: Air conditioner, thermometer, quilt Grid 5 Title: 4. Don't drink strong tea or coffee at night Body text: Caffeine delays sleepiness, making you lie in bed for a long time unable to sleep. Image elements: Coffee cup, teacup, prohibition sign Grid 6 Title: 5. Take a hot shower before bed Body text: It can relax the body and help you fall asleep faster. Image elements: Bathroom steam, towel, hot water Grid 7 Title: 6. Write it down if your brain won't stop Body text: Writing down your worries and to-do lists makes it easier for your brain to relax. Image elements: Notebook, fountain pen, small desk lamp Grid 8 Title: 7. Fix your bedtime Body text: Going to bed at about the same time every day will make your biological clock increasingly stable. Image elements: Clock, moon, bed Grid 9 Title: 8. Try deep breathing relaxation Body text: Inhale for 4 seconds, hold for 4 seconds, exhale for 6 seconds, and sleepiness will gradually come. Bottom small text: Save this set and try it tonight Image elements: Breathing lines, person with closed eyes, stars Image quality requirements: High definition, premium layout, magazine feel, realistically publishable, new media operation aesthetics, Xiaohongshu viral image-and-text style, neat text layout, suitable for direct image cutting.\"\n}",
    CURLOPT_RETURNTRANSFER => true,
]);

$response = json_decode(curl_exec($ch), true);
curl_close($ch);
echo $response["id"] . PHP_EOL;
```

### Java

```java
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

var request = HttpRequest.newBuilder(URI.create("https://runapi.ai/api/v1/gpt_image_2/text_to_image"))
    .header("Authorization", "Bearer " + System.getenv("RUNAPI_API_KEY"))
    .header("Content-Type", "application/json")
    .POST(HttpRequest.BodyPublishers.ofString("{\n  \"model\": \"gpt-image-2\",\n  \"prompt\": \"[中文] 生成一张适合小红书发布的 3:4 竖版九宫格海报，整体为 3列 × 3行 排版，九个宫格边界清晰，方便后期直接切割成 9 张单图发布。整体风格干净、高级、统一，适合女性向健康生活方式内容，具有小红书爆款封面气质。画面要求 信息排版清晰、文字大、可读性强、留白舒服、配色温柔治愈。 整体视觉风格： 奶油白、浅米色、淡燕麦色、浅焦糖色为主色调，搭配少量深棕色文字，ins风、治愈感、睡眠疗愈主题，简约排版，轻拟物插画点缀，可加入枕头、月亮、星星、热牛奶、香薰、书本、眼罩、窗帘、床铺等元素。整体像专业新媒体设计图，字体工整，适合做知识科普类小红书九宫格。 排版要求： 整张图必须是标准九宫格构图，切分后每一格都能独立成图 每个宫格内容完整居中，不要把标题或正文压在分割线附近 每个格子之间保留明显间隔或细边框，保证裁切后不影响阅读 所有文字使用中文，清晰易读，不要乱码，不要英文 每个宫格都像独立的小红书图文卡片，但视觉风格保持统一 画面精致、真实、自然，不要廉价营销感，不要过度花哨 九宫格具体内容： 第1格（封面） 大标题：让你倒头就睡的8个 tips 副标题：失眠党、熬夜党一定要收藏 封面视觉最吸睛，适合做首图，加入柔软床铺、月亮、枕头、眼罩等治愈睡眠元素，标题突出，排版高级。 第2格 标题：1. 睡前1小时别玩手机 正文：蓝光会让大脑更清醒，越刷越睡不着。 配图元素：手机、月亮、困倦表情的小插画 第3格 标题：2. 睡前把灯光调暗 正文：暖光环境能帮助身体进入“准备睡觉”的状态。 配图元素：床头灯、暖黄色灯光、窗帘 第4格 标题：3. 房间温度别太高 正文：稍微凉一点，更容易快速入睡。 配图元素：空调、温度计、被子 第5格 标题：4. 晚上别喝浓茶咖啡 正文：咖啡因会延迟困意，让你躺很久还睡不着。 配图元素：咖啡杯、茶杯、禁止符号 第6格 标题：5. 睡前洗个热水澡 正文：能让身体放松下来，入睡速度更快。 配图元素：浴室蒸汽、毛巾、热水 第7格 标题：6. 脑子停不下来就写下来 正文：把烦心事和待办清单写下，大脑会更容易放松。 配图元素：笔记本、钢笔、小台灯 第8格 标题：7. 固定上床时间 正文：每天差不多时间睡，生物钟会越来越稳定。 配图元素：时钟、月亮、床 第9格 标题：8. 试试深呼吸放松法 正文：吸气4秒，停4秒，呼气6秒，慢慢就有困意了。 底部小字：收藏这组，今晚试试看 配图元素：呼吸线条、闭眼人物、星星 画质要求： 高清，高级排版，杂志感，真实可发布，新媒体运营审美，小红书爆款图文风格，文字布局规整，适合直接切图。 [English] Generate a 3:4 vertical 9-grid poster suitable for publishing on Xiaohongshu, with an overall layout of 3 columns × 3 rows. The boundaries of the nine grids are clear, making it easy to directly cut into 9 single images for later publishing. The overall style is clean, premium, and unified, suitable for female-oriented healthy lifestyle content, possessing the vibe of a viral Xiaohongshu cover. Image requirements: clear information layout, large text, strong readability, comfortable white space, gentle and healing color palette. Overall visual style: Cream white, light beige, light oat color, and light caramel color as the main color tones, paired with a small amount of dark brown text. Ins style, healing sense, sleep therapy theme, minimalist layout, light skeuomorphic illustration embellishments. Elements such as pillows, moons, stars, hot milk, aromatherapy, books, eye masks, curtains, and beds can be added. The overall look should be like a professional new media design graphic, with neat fonts, suitable for a knowledge-based popular science Xiaohongshu 9-grid. Layout requirements: The entire image must be a standard 9-grid composition, and each grid can stand alone as an independent image after being cut. The content of each grid should be completely centered; do not place titles or body text near the dividing lines. Keep obvious gaps or thin borders between each grid to ensure that reading is not affected after cropping. All text must use Chinese, be clear and readable, no garbled characters, no English. Each grid should look like an independent Xiaohongshu image-and-text card, but the visual style must remain unified. The image should be exquisite, realistic, and natural, without a cheap marketing feel, and not overly flashy. Specific content of the 9-grid: Grid 1 (Cover) Main title: 8 tips to make you fall asleep instantly Subtitle: Insomniacs and night owls must save this The cover visuals should be the most eye-catching, suitable for the first image. Add healing sleep elements such as soft beds, moons, pillows, and eye masks. The title should be prominent with a premium layout. Grid 2 Title: 1. Don't play with your phone 1 hour before bed Body text: Blue light makes the brain more awake; the more you scroll, the harder it is to fall asleep. Image elements: Mobile phone, moon, small illustration of a sleepy expression Grid 3 Title: 2. Dim the lights before bed Body text: A warm light environment can help the body enter a \\\"ready to sleep\\\" state. Image elements: Bedside lamp, warm yellow light, curtains Grid 4 Title: 3. Don't keep the room temperature too high Body text: Keeping it a bit cooler makes it easier to fall asleep quickly. Image elements: Air conditioner, thermometer, quilt Grid 5 Title: 4. Don't drink strong tea or coffee at night Body text: Caffeine delays sleepiness, making you lie in bed for a long time unable to sleep. Image elements: Coffee cup, teacup, prohibition sign Grid 6 Title: 5. Take a hot shower before bed Body text: It can relax the body and help you fall asleep faster. Image elements: Bathroom steam, towel, hot water Grid 7 Title: 6. Write it down if your brain won't stop Body text: Writing down your worries and to-do lists makes it easier for your brain to relax. Image elements: Notebook, fountain pen, small desk lamp Grid 8 Title: 7. Fix your bedtime Body text: Going to bed at about the same time every day will make your biological clock increasingly stable. Image elements: Clock, moon, bed Grid 9 Title: 8. Try deep breathing relaxation Body text: Inhale for 4 seconds, hold for 4 seconds, exhale for 6 seconds, and sleepiness will gradually come. Bottom small text: Save this set and try it tonight Image elements: Breathing lines, person with closed eyes, stars Image quality requirements: High definition, premium layout, magazine feel, realistically publishable, new media operation aesthetics, Xiaohongshu viral image-and-text style, neat text layout, suitable for direct image cutting.\"\n}"))
    .build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
```

### Ruby

```ruby
require "json"
require "net/http"

uri = URI("https://runapi.ai/api/v1/gpt_image_2/text_to_image")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer " + ENV.fetch("RUNAPI_API_KEY")
request["Content-Type"] = "application/json"
request.body = "{\n  \"model\": \"gpt-image-2\",\n  \"prompt\": \"[中文] 生成一张适合小红书发布的 3:4 竖版九宫格海报，整体为 3列 × 3行 排版，九个宫格边界清晰，方便后期直接切割成 9 张单图发布。整体风格干净、高级、统一，适合女性向健康生活方式内容，具有小红书爆款封面气质。画面要求 信息排版清晰、文字大、可读性强、留白舒服、配色温柔治愈。 整体视觉风格： 奶油白、浅米色、淡燕麦色、浅焦糖色为主色调，搭配少量深棕色文字，ins风、治愈感、睡眠疗愈主题，简约排版，轻拟物插画点缀，可加入枕头、月亮、星星、热牛奶、香薰、书本、眼罩、窗帘、床铺等元素。整体像专业新媒体设计图，字体工整，适合做知识科普类小红书九宫格。 排版要求： 整张图必须是标准九宫格构图，切分后每一格都能独立成图 每个宫格内容完整居中，不要把标题或正文压在分割线附近 每个格子之间保留明显间隔或细边框，保证裁切后不影响阅读 所有文字使用中文，清晰易读，不要乱码，不要英文 每个宫格都像独立的小红书图文卡片，但视觉风格保持统一 画面精致、真实、自然，不要廉价营销感，不要过度花哨 九宫格具体内容： 第1格（封面） 大标题：让你倒头就睡的8个 tips 副标题：失眠党、熬夜党一定要收藏 封面视觉最吸睛，适合做首图，加入柔软床铺、月亮、枕头、眼罩等治愈睡眠元素，标题突出，排版高级。 第2格 标题：1. 睡前1小时别玩手机 正文：蓝光会让大脑更清醒，越刷越睡不着。 配图元素：手机、月亮、困倦表情的小插画 第3格 标题：2. 睡前把灯光调暗 正文：暖光环境能帮助身体进入“准备睡觉”的状态。 配图元素：床头灯、暖黄色灯光、窗帘 第4格 标题：3. 房间温度别太高 正文：稍微凉一点，更容易快速入睡。 配图元素：空调、温度计、被子 第5格 标题：4. 晚上别喝浓茶咖啡 正文：咖啡因会延迟困意，让你躺很久还睡不着。 配图元素：咖啡杯、茶杯、禁止符号 第6格 标题：5. 睡前洗个热水澡 正文：能让身体放松下来，入睡速度更快。 配图元素：浴室蒸汽、毛巾、热水 第7格 标题：6. 脑子停不下来就写下来 正文：把烦心事和待办清单写下，大脑会更容易放松。 配图元素：笔记本、钢笔、小台灯 第8格 标题：7. 固定上床时间 正文：每天差不多时间睡，生物钟会越来越稳定。 配图元素：时钟、月亮、床 第9格 标题：8. 试试深呼吸放松法 正文：吸气4秒，停4秒，呼气6秒，慢慢就有困意了。 底部小字：收藏这组，今晚试试看 配图元素：呼吸线条、闭眼人物、星星 画质要求： 高清，高级排版，杂志感，真实可发布，新媒体运营审美，小红书爆款图文风格，文字布局规整，适合直接切图。 [English] Generate a 3:4 vertical 9-grid poster suitable for publishing on Xiaohongshu, with an overall layout of 3 columns × 3 rows. The boundaries of the nine grids are clear, making it easy to directly cut into 9 single images for later publishing. The overall style is clean, premium, and unified, suitable for female-oriented healthy lifestyle content, possessing the vibe of a viral Xiaohongshu cover. Image requirements: clear information layout, large text, strong readability, comfortable white space, gentle and healing color palette. Overall visual style: Cream white, light beige, light oat color, and light caramel color as the main color tones, paired with a small amount of dark brown text. Ins style, healing sense, sleep therapy theme, minimalist layout, light skeuomorphic illustration embellishments. Elements such as pillows, moons, stars, hot milk, aromatherapy, books, eye masks, curtains, and beds can be added. The overall look should be like a professional new media design graphic, with neat fonts, suitable for a knowledge-based popular science Xiaohongshu 9-grid. Layout requirements: The entire image must be a standard 9-grid composition, and each grid can stand alone as an independent image after being cut. The content of each grid should be completely centered; do not place titles or body text near the dividing lines. Keep obvious gaps or thin borders between each grid to ensure that reading is not affected after cropping. All text must use Chinese, be clear and readable, no garbled characters, no English. Each grid should look like an independent Xiaohongshu image-and-text card, but the visual style must remain unified. The image should be exquisite, realistic, and natural, without a cheap marketing feel, and not overly flashy. Specific content of the 9-grid: Grid 1 (Cover) Main title: 8 tips to make you fall asleep instantly Subtitle: Insomniacs and night owls must save this The cover visuals should be the most eye-catching, suitable for the first image. Add healing sleep elements such as soft beds, moons, pillows, and eye masks. The title should be prominent with a premium layout. Grid 2 Title: 1. Don't play with your phone 1 hour before bed Body text: Blue light makes the brain more awake; the more you scroll, the harder it is to fall asleep. Image elements: Mobile phone, moon, small illustration of a sleepy expression Grid 3 Title: 2. Dim the lights before bed Body text: A warm light environment can help the body enter a \\\"ready to sleep\\\" state. Image elements: Bedside lamp, warm yellow light, curtains Grid 4 Title: 3. Don't keep the room temperature too high Body text: Keeping it a bit cooler makes it easier to fall asleep quickly. Image elements: Air conditioner, thermometer, quilt Grid 5 Title: 4. Don't drink strong tea or coffee at night Body text: Caffeine delays sleepiness, making you lie in bed for a long time unable to sleep. Image elements: Coffee cup, teacup, prohibition sign Grid 6 Title: 5. Take a hot shower before bed Body text: It can relax the body and help you fall asleep faster. Image elements: Bathroom steam, towel, hot water Grid 7 Title: 6. Write it down if your brain won't stop Body text: Writing down your worries and to-do lists makes it easier for your brain to relax. Image elements: Notebook, fountain pen, small desk lamp Grid 8 Title: 7. Fix your bedtime Body text: Going to bed at about the same time every day will make your biological clock increasingly stable. Image elements: Clock, moon, bed Grid 9 Title: 8. Try deep breathing relaxation Body text: Inhale for 4 seconds, hold for 4 seconds, exhale for 6 seconds, and sleepiness will gradually come. Bottom small text: Save this set and try it tonight Image elements: Breathing lines, person with closed eyes, stars Image quality requirements: High definition, premium layout, magazine feel, realistically publishable, new media operation aesthetics, Xiaohongshu viral image-and-text style, neat text layout, suitable for direct image cutting.\"\n}"

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(request) }
puts JSON.parse(response.body).fetch("id")
```

### Go

```go
package main

import (
  "context"
  "fmt"
  "log"
  "net/http"
  "os"
  "strings"
)

func main() {
  body := strings.NewReader("{\"model\":\"gpt-image-2\",\"prompt\":\"[中文] 生成一张适合小红书发布的 3:4 竖版九宫格海报，整体为 3列 × 3行 排版，九个宫格边界清晰，方便后期直接切割成 9 张单图发布。整体风格干净、高级、统一，适合女性向健康生活方式内容，具有小红书爆款封面气质。画面要求 信息排版清晰、文字大、可读性强、留白舒服、配色温柔治愈。 整体视觉风格： 奶油白、浅米色、淡燕麦色、浅焦糖色为主色调，搭配少量深棕色文字，ins风、治愈感、睡眠疗愈主题，简约排版，轻拟物插画点缀，可加入枕头、月亮、星星、热牛奶、香薰、书本、眼罩、窗帘、床铺等元素。整体像专业新媒体设计图，字体工整，适合做知识科普类小红书九宫格。 排版要求： 整张图必须是标准九宫格构图，切分后每一格都能独立成图 每个宫格内容完整居中，不要把标题或正文压在分割线附近 每个格子之间保留明显间隔或细边框，保证裁切后不影响阅读 所有文字使用中文，清晰易读，不要乱码，不要英文 每个宫格都像独立的小红书图文卡片，但视觉风格保持统一 画面精致、真实、自然，不要廉价营销感，不要过度花哨 九宫格具体内容： 第1格（封面） 大标题：让你倒头就睡的8个 tips 副标题：失眠党、熬夜党一定要收藏 封面视觉最吸睛，适合做首图，加入柔软床铺、月亮、枕头、眼罩等治愈睡眠元素，标题突出，排版高级。 第2格 标题：1. 睡前1小时别玩手机 正文：蓝光会让大脑更清醒，越刷越睡不着。 配图元素：手机、月亮、困倦表情的小插画 第3格 标题：2. 睡前把灯光调暗 正文：暖光环境能帮助身体进入“准备睡觉”的状态。 配图元素：床头灯、暖黄色灯光、窗帘 第4格 标题：3. 房间温度别太高 正文：稍微凉一点，更容易快速入睡。 配图元素：空调、温度计、被子 第5格 标题：4. 晚上别喝浓茶咖啡 正文：咖啡因会延迟困意，让你躺很久还睡不着。 配图元素：咖啡杯、茶杯、禁止符号 第6格 标题：5. 睡前洗个热水澡 正文：能让身体放松下来，入睡速度更快。 配图元素：浴室蒸汽、毛巾、热水 第7格 标题：6. 脑子停不下来就写下来 正文：把烦心事和待办清单写下，大脑会更容易放松。 配图元素：笔记本、钢笔、小台灯 第8格 标题：7. 固定上床时间 正文：每天差不多时间睡，生物钟会越来越稳定。 配图元素：时钟、月亮、床 第9格 标题：8. 试试深呼吸放松法 正文：吸气4秒，停4秒，呼气6秒，慢慢就有困意了。 底部小字：收藏这组，今晚试试看 配图元素：呼吸线条、闭眼人物、星星 画质要求： 高清，高级排版，杂志感，真实可发布，新媒体运营审美，小红书爆款图文风格，文字布局规整，适合直接切图。 [English] Generate a 3:4 vertical 9-grid poster suitable for publishing on Xiaohongshu, with an overall layout of 3 columns × 3 rows. The boundaries of the nine grids are clear, making it easy to directly cut into 9 single images for later publishing. The overall style is clean, premium, and unified, suitable for female-oriented healthy lifestyle content, possessing the vibe of a viral Xiaohongshu cover. Image requirements: clear information layout, large text, strong readability, comfortable white space, gentle and healing color palette. Overall visual style: Cream white, light beige, light oat color, and light caramel color as the main color tones, paired with a small amount of dark brown text. Ins style, healing sense, sleep therapy theme, minimalist layout, light skeuomorphic illustration embellishments. Elements such as pillows, moons, stars, hot milk, aromatherapy, books, eye masks, curtains, and beds can be added. The overall look should be like a professional new media design graphic, with neat fonts, suitable for a knowledge-based popular science Xiaohongshu 9-grid. Layout requirements: The entire image must be a standard 9-grid composition, and each grid can stand alone as an independent image after being cut. The content of each grid should be completely centered; do not place titles or body text near the dividing lines. Keep obvious gaps or thin borders between each grid to ensure that reading is not affected after cropping. All text must use Chinese, be clear and readable, no garbled characters, no English. Each grid should look like an independent Xiaohongshu image-and-text card, but the visual style must remain unified. The image should be exquisite, realistic, and natural, without a cheap marketing feel, and not overly flashy. Specific content of the 9-grid: Grid 1 (Cover) Main title: 8 tips to make you fall asleep instantly Subtitle: Insomniacs and night owls must save this The cover visuals should be the most eye-catching, suitable for the first image. Add healing sleep elements such as soft beds, moons, pillows, and eye masks. The title should be prominent with a premium layout. Grid 2 Title: 1. Don't play with your phone 1 hour before bed Body text: Blue light makes the brain more awake; the more you scroll, the harder it is to fall asleep. Image elements: Mobile phone, moon, small illustration of a sleepy expression Grid 3 Title: 2. Dim the lights before bed Body text: A warm light environment can help the body enter a \\\"ready to sleep\\\" state. Image elements: Bedside lamp, warm yellow light, curtains Grid 4 Title: 3. Don't keep the room temperature too high Body text: Keeping it a bit cooler makes it easier to fall asleep quickly. Image elements: Air conditioner, thermometer, quilt Grid 5 Title: 4. Don't drink strong tea or coffee at night Body text: Caffeine delays sleepiness, making you lie in bed for a long time unable to sleep. Image elements: Coffee cup, teacup, prohibition sign Grid 6 Title: 5. Take a hot shower before bed Body text: It can relax the body and help you fall asleep faster. Image elements: Bathroom steam, towel, hot water Grid 7 Title: 6. Write it down if your brain won't stop Body text: Writing down your worries and to-do lists makes it easier for your brain to relax. Image elements: Notebook, fountain pen, small desk lamp Grid 8 Title: 7. Fix your bedtime Body text: Going to bed at about the same time every day will make your biological clock increasingly stable. Image elements: Clock, moon, bed Grid 9 Title: 8. Try deep breathing relaxation Body text: Inhale for 4 seconds, hold for 4 seconds, exhale for 6 seconds, and sleepiness will gradually come. Bottom small text: Save this set and try it tonight Image elements: Breathing lines, person with closed eyes, stars Image quality requirements: High definition, premium layout, magazine feel, realistically publishable, new media operation aesthetics, Xiaohongshu viral image-and-text style, neat text layout, suitable for direct image cutting.\"}")
  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)
}
```

### CLI

```cli
$ runapi generate \
    --model gpt-image-2 \
    --prompt "[中文] 生成一张适合小红书发布的 3:4 竖版九宫格海报，整体为 3列 × 3行 排版，九个宫格边界清晰，方便后期直接切割成 9 张单图发布。整体风格干净、高级、统一，适合女性向健康生活方式内容，具有小红书爆款封面气质。画面要求 信息排版清晰、文字大、可读性强、留白舒服、配色温柔治愈。 整体视觉风格： 奶油白、浅米色、淡燕麦色、浅焦糖色为主色调，搭配少量深棕色文字，ins风、治愈感、睡眠疗愈主题，简约排版，轻拟物插画点缀，可加入枕头、月亮、星星、热牛奶、香薰、书本、眼罩、窗帘、床铺等元素。整体像专业新媒体设计图，字体工整，适合做知识科普类小红书九宫格。 排版要求： 整张图必须是标准九宫格构图，切分后每一格都能独立成图 每个宫格内容完整居中，不要把标题或正文压在分割线附近 每个格子之间保留明显间隔或细边框，保证裁切后不影响阅读 所有文字使用中文，清晰易读，不要乱码，不要英文 每个宫格都像独立的小红书图文卡片，但视觉风格保持统一 画面精致、真实、自然，不要廉价营销感，不要过度花哨 九宫格具体内容： 第1格（封面） 大标题：让你倒头就睡的8个 tips 副标题：失眠党、熬夜党一定要收藏 封面视觉最吸睛，适合做首图，加入柔软床铺、月亮、枕头、眼罩等治愈睡眠元素，标题突出，排版高级。 第2格 标题：1. 睡前1小时别玩手机 正文：蓝光会让大脑更清醒，越刷越睡不着。 配图元素：手机、月亮、困倦表情的小插画 第3格 标题：2. 睡前把灯光调暗 正文：暖光环境能帮助身体进入“准备睡觉”的状态。 配图元素：床头灯、暖黄色灯光、窗帘 第4格 标题：3. 房间温度别太高 正文：稍微凉一点，更容易快速入睡。 配图元素：空调、温度计、被子 第5格 标题：4. 晚上别喝浓茶咖啡 正文：咖啡因会延迟困意，让你躺很久还睡不着。 配图元素：咖啡杯、茶杯、禁止符号 第6格 标题：5. 睡前洗个热水澡 正文：能让身体放松下来，入睡速度更快。 配图元素：浴室蒸汽、毛巾、热水 第7格 标题：6. 脑子停不下来就写下来 正文：把烦心事和待办清单写下，大脑会更容易放松。 配图元素：笔记本、钢笔、小台灯 第8格 标题：7. 固定上床时间 正文：每天差不多时间睡，生物钟会越来越稳定。 配图元素：时钟、月亮、床 第9格 标题：8. 试试深呼吸放松法 正文：吸气4秒，停4秒，呼气6秒，慢慢就有困意了。 底部小字：收藏这组，今晚试试看 配图元素：呼吸线条、闭眼人物、星星 画质要求： 高清，高级排版，杂志感，真实可发布，新媒体运营审美，小红书爆款图文风格，文字布局规整，适合直接切图。 [English] Generate a 3:4 vertical 9-grid poster suitable for publishing on Xiaohongshu, with an overall layout of 3 columns × 3 rows. The boundaries of the nine grids are clear, making it easy to directly cut into 9 single images for later publishing. The overall style is clean, premium, and unified, suitable for female-oriented healthy lifestyle content, possessing the vibe of a viral Xiaohongshu cover. Image requirements: clear information layout, large text, strong readability, comfortable white space, gentle and healing color palette. Overall visual style: Cream white, light beige, light oat color, and light caramel color as the main color tones, paired with a small amount of dark brown text. Ins style, healing sense, sleep therapy theme, minimalist layout, light skeuomorphic illustration embellishments. Elements such as pillows, moons, stars, hot milk, aromatherapy, books, eye masks, curtains, and beds can be added. The overall look should be like a professional new media design graphic, with neat fonts, suitable for a knowledge-based popular science Xiaohongshu 9-grid. Layout requirements: The entire image must be a standard 9-grid composition, and each grid can stand alone as an independent image after being cut. The content of each grid should be completely centered; do not place titles or body text near the dividing lines. Keep obvious gaps or thin borders between each grid to ensure that reading is not affected after cropping. All text must use Chinese, be clear and readable, no garbled characters, no English. Each grid should look like an independent Xiaohongshu image-and-text card, but the visual style must remain unified. The image should be exquisite, realistic, and natural, without a cheap marketing feel, and not overly flashy. Specific content of the 9-grid: Grid 1 (Cover) Main title: 8 tips to make you fall asleep instantly Subtitle: Insomniacs and night owls must save this The cover visuals should be the most eye-catching, suitable for the first image. Add healing sleep elements such as soft beds, moons, pillows, and eye masks. The title should be prominent with a premium layout. Grid 2 Title: 1. Don't play with your phone 1 hour before bed Body text: Blue light makes the brain more awake; the more you scroll, the harder it is to fall asleep. Image elements: Mobile phone, moon, small illustration of a sleepy expression Grid 3 Title: 2. Dim the lights before bed Body text: A warm light environment can help the body enter a \"ready to sleep\" state. Image elements: Bedside lamp, warm yellow light, curtains Grid 4 Title: 3. Don't keep the room temperature too high Body text: Keeping it a bit cooler makes it easier to fall asleep quickly. Image elements: Air conditioner, thermometer, quilt Grid 5 Title: 4. Don't drink strong tea or coffee at night Body text: Caffeine delays sleepiness, making you lie in bed for a long time unable to sleep. Image elements: Coffee cup, teacup, prohibition sign Grid 6 Title: 5. Take a hot shower before bed Body text: It can relax the body and help you fall asleep faster. Image elements: Bathroom steam, towel, hot water Grid 7 Title: 6. Write it down if your brain won't stop Body text: Writing down your worries and to-do lists makes it easier for your brain to relax. Image elements: Notebook, fountain pen, small desk lamp Grid 8 Title: 7. Fix your bedtime Body text: Going to bed at about the same time every day will make your biological clock increasingly stable. Image elements: Clock, moon, bed Grid 9 Title: 8. Try deep breathing relaxation Body text: Inhale for 4 seconds, hold for 4 seconds, exhale for 6 seconds, and sleepiness will gradually come. Bottom small text: Save this set and try it tonight Image elements: Breathing lines, person with closed eyes, stars Image quality requirements: High definition, premium layout, magazine feel, realistically publishable, new media operation aesthetics, Xiaohongshu viral image-and-text style, neat text layout, suitable for direct image cutting." \
    --wait
```

<!-- /api-example-tabs-slot -->

## 更多類似提示

- [Camera Dome 48-Point View Setup](https://runapi.ai/zh-HK/prompts/3d-rendered-camera-dome-with-three-rings-and-48-points-JPa6v0.md) — `gpt-image-2`
- [Cozy Vintage Hallway Dance Scene](https://runapi.ai/zh-HK/prompts/elderly-couple-s-playful-hallway-dance-AkyGwJ.md) — `gpt-image-2`
- [Aortic Stenosis Spectrogram Generation](https://runapi.ai/zh-HK/prompts/spectrogram-of-aortic-stenosis-Aj4waJ.md) — `gpt-image-2`

## 使用此 gpt-image-2 提示

### 如何安全地複製此提示？

請使用完整提示區塊旁的複製按鈕。它只會複製提示文字，不會包含頁面周邊標籤，因此您可將其貼入代理指令、JSON 請求主體，或您自己的提示庫。

### 為什麼詳情頁會顯示參數？

部分提示在收集時附有已儲存的生成設定，例如長寬比、持續時間或語音控制。當參數存在時，頁面會將其分開列出，方便您同時重用提示文字與結構化設定。

### 我應該呼叫哪個端點？

請使用 API 程式碼區塊中顯示的端點路徑。該路徑由提示的 RunAPI 服務與端點名稱生成，然後以 curl 與 SDK 範例使用的公開 API URL 形式呈現。

### 我可以在代理中使用此提示而不是程式碼嗎？

可以。於分頁切換器選擇 Claude Code、Codex、Cursor 或 Windsurf，安裝 RunAPI MCP Server，然後貼上已生成的指示。該指示包含完整的提示詞內容。

## 正在與團隊一起建立？

我們可以協助企業設定、整合和技術問題。

[聯絡我們](https://runapi.ai/zh-HK/contact.md)


---

## More from RunAPI

- [Home](https://runapi.ai/zh-HK/.md)
### 產品
- [模型目錄](https://runapi.ai/zh-HK/models.md)
- [收費](https://runapi.ai/zh-HK/pricing.md)
- [服務商](https://runapi.ai/zh-HK/models#all-models)
- [Prompt 素材庫](https://runapi.ai/zh-HK/prompts.md)
### 開發者
- [文件](https://runapi.ai/zh-HK/docs/guides)
- [SDK](https://runapi.ai/zh-HK/sdk.md)
- [CLI](https://runapi.ai/zh-HK/cli.md)
- [MCP Server](https://runapi.ai/zh-HK/mcp.md)
- [x402](https://runapi.ai/zh-HK/x402.md)
### 指南
- [Claude Code 與 Cursor](https://runapi.ai/zh-HK/claude-code-vs-cursor.md)
- [Cursor API 設定](https://runapi.ai/zh-HK/cursor-api-setup.md)
- [RunAPI 與 OpenRouter](https://runapi.ai/zh-HK/openrouter-alternative.md)
### 公司
- [企業版](https://runapi.ai/zh-HK/contact.md)
- [聯絡](https://runapi.ai/zh-HK/contact.md)
### 法律
- [條款](https://runapi.ai/zh-HK/terms.md)
- [私隱](https://runapi.ai/zh-HK/privacy.md)
- [Site index for agents](https://runapi.ai/llms.txt)

Contact: contact@runapi.ai

## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/zh-HK",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/zh-HK/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/zh-HK",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/zh-HKicon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "主頁",
        "item": "https://runapi.ai/zh-HK"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "提示",
        "item": "https://runapi.ai/zh-HK/prompts"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "圖像",
        "item": "https://runapi.ai/zh-HK/prompts/image"
      },
      {
        "@type": "ListItem",
        "position": 4,
        "name": "UI与界面",
        "item": "https://runapi.ai/zh-CN/prompts/prompt-A1pVL0"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@type": "Question",
        "name": "如何安全地複製此提示？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "請使用完整提示區塊旁的複製按鈕。它只會複製提示文字，不會包含頁面周邊標籤，因此您可將其貼入代理指令、JSON 請求主體，或您自己的提示庫。"
        }
      },
      {
        "@type": "Question",
        "name": "為什麼詳情頁會顯示參數？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "部分提示在收集時附有已儲存的生成設定，例如長寬比、持續時間或語音控制。當參數存在時，頁面會將其分開列出，方便您同時重用提示文字與結構化設定。"
        }
      },
      {
        "@type": "Question",
        "name": "我應該呼叫哪個端點？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "請使用 API 程式碼區塊中顯示的端點路徑。該路徑由提示的 RunAPI 服務與端點名稱生成，然後以 curl 與 SDK 範例使用的公開 API URL 形式呈現。"
        }
      },
      {
        "@type": "Question",
        "name": "我可以在代理中使用此提示而不是程式碼嗎？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "可以。於分頁切換器選擇 Claude Code、Codex、Cursor 或 Windsurf，安裝 RunAPI MCP Server，然後貼上已生成的指示。該指示包含完整的提示詞內容。"
        }
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh",
    "@type": "CreativeWork",
    "name": "UI与界面",
    "text": "[中文] 生成一张适合小红书发布的 3:4 竖版九宫格海报，整体为 3列 × 3行 排版，九个宫格边界清晰，方便后期直接切割成 9 张单图发布。整体风格干净、高级、统一，适合女性向健康生活方式内容，具有小红书爆款封面气质。画面要求 信息排版清晰、文字大、可读性强、留白舒服、配色温柔治愈。 整体视觉风格： 奶油白、浅米色、淡燕麦色、浅焦糖色为主色调，搭配少量深棕色文字，ins风、治愈感、睡眠疗愈主题，简约排版，轻拟物插画点缀，可加入枕头、月亮、星星、热牛奶、香薰、书本、眼罩、窗帘、床铺等元素。整体像专业新媒体设计图，字体工整，适合做知识科普类小红书九宫格。 排版要求： 整张图必须是标准九宫格构图，切分后每一格都能独立成图 每个宫格内容完整居中，不要把标题或正文压在分割线附近 每个格子之间保留明显间隔或细边框，保证裁切后不影响阅读 所有文字使用中文，清晰易读，不要乱码，不要英文 每个宫格都像独立的小红书图文卡片，但视觉风格保持统一 画面精致、真实、自然，不要廉价营销感，不要过度花哨 九宫格具体内容： 第1格（封面） 大标题：让你倒头就睡的8个 tips 副标题：失眠党、熬夜党一定要收藏 封面视觉最吸睛，适合做首图，加入柔软床铺、月亮、枕头、眼罩等治愈睡眠元素，标题突出，排版高级。 第2格 标题：1. 睡前1小时别玩手机 正文：蓝光会让大脑更清醒，越刷越睡不着。 配图元素：手机、月亮、困倦表情的小插画 第3格 标题：2. 睡前把灯光调暗 正文：暖光环境能帮助身体进入“准备睡觉”的状态。 配图元素：床头灯、暖黄色灯光、窗帘 第4格 标题：3. 房间温度别太高 正文：稍微凉一点，更容易快速入睡。 配图元素：空调、温度计、被子 第5格 标题：4. 晚上别喝浓茶咖啡 正文：咖啡因会延迟困意，让你躺很久还睡不着。 配图元素：咖啡杯、茶杯、禁止符号 第6格 标题：5. 睡前洗个热水澡 正文：能让身体放松下来，入睡速度更快。 配图元素：浴室蒸汽、毛巾、热水 第7格 标题：6. 脑子停不下来就写下来 正文：把烦心事和待办清单写下，大脑会更容易放松。 配图元素：笔记本、钢笔、小台灯 第8格 标题：7. 固定上床时间 正文：每天差不多时间睡，生物钟会越来越稳定。 配图元素：时钟、月亮、床 第9格 标题：8. 试试深呼吸放松法 正文：吸气4秒，停4秒，呼气6秒，慢慢就有困意了。 底部小字：收藏这组，今晚试试看 配图元素：呼吸线条、闭眼人物、星星 画质要求： 高清，高级排版，杂志感，真实可发布，新媒体运营审美，小红书爆款图文风格，文字布局规整，适合直接切图。 [English] Generate a 3:4 vertical 9-grid poster suitable for publishing on Xiaohongshu, with an overall layout of 3 columns × 3 rows. The boundaries of the nine grids are clear, making it easy to directly cut into 9 single images for later publishing. The overall style is clean, premium, and unified, suitable for female-oriented healthy lifestyle content, possessing the vibe of a viral Xiaohongshu cover. Image requirements: clear information layout, large text, strong readability, comfortable white space, gentle and healing color palette. Overall visual style: Cream white, light beige, light oat color, and light caramel color as the main color tones, paired with a small amount of dark brown text. Ins style, healing sense, sleep therapy theme, minimalist layout, light skeuomorphic illustration embellishments. Elements such as pillows, moons, stars, hot milk, aromatherapy, books, eye masks, curtains, and beds can be added. The overall look should be like a professional new media design graphic, with neat fonts, suitable for a knowledge-based popular science Xiaohongshu 9-grid. Layout requirements: The entire image must be a standard 9-grid composition, and each grid can stand alone as an independent image after being cut. The content of each grid should be completely centered; do not place titles or body text near the dividing lines. Keep obvious gaps or thin borders between each grid to ensure that reading is not affected after cropping. All text must use Chinese, be clear and readable, no garbled characters, no English. Each grid should look like an independent Xiaohongshu image-and-text card, but the visual style must remain unified. The image should be exquisite, realistic, and natural, without a cheap marketing feel, and not overly flashy. Specific content of the 9-grid: Grid 1 (Cover) Main title: 8 tips to make you fall asleep instantly Subtitle: Insomniacs and night owls must save this The cover visuals should be the most eye-catching, suitable for the first image. Add healing sleep elements such as soft beds, moons, pillows, and eye masks. The title should be prominent with a premium layout. Grid 2 Title: 1. Don't play with your phone 1 hour before bed Body text: Blue light makes the brain more awake; the more you scroll, the harder it is to fall asleep. Image elements: Mobile phone, moon, small illustration of a sleepy expression Grid 3 Title: 2. Dim the lights before bed Body text: A warm light environment can help the body enter a \"ready to sleep\" state. Image elements: Bedside lamp, warm yellow light, curtains Grid 4 Title: 3. Don't keep the room temperature too high Body text: Keeping it a bit cooler makes it easier to fall asleep quickly. Image elements: Air conditioner, thermometer, quilt Grid 5 Title: 4. Don't drink strong tea or coffee at night Body text: Caffeine delays sleepiness, making you lie in bed for a long time unable to sleep. Image elements: Coffee cup, teacup, prohibition sign Grid 6 Title: 5. Take a hot shower before bed Body text: It can relax the body and help you fall asleep faster. Image elements: Bathroom steam, towel, hot water Grid 7 Title: 6. Write it down if your brain won't stop Body text: Writing down your worries and to-do lists makes it easier for your brain to relax. Image elements: Notebook, fountain pen, small desk lamp Grid 8 Title: 7. Fix your bedtime Body text: Going to bed at about the same time every day will make your biological clock increasingly stable. Image elements: Clock, moon, bed Grid 9 Title: 8. Try deep breathing relaxation Body text: Inhale for 4 seconds, hold for 4 seconds, exhale for 6 seconds, and sleepiness will gradually come. Bottom small text: Save this set and try it tonight Image elements: Breathing lines, person with closed eyes, stars Image quality requirements: High definition, premium layout, magazine feel, realistically publishable, new media operation aesthetics, Xiaohongshu viral image-and-text style, neat text layout, suitable for direct image cutting.",
    "image": "https://cdn.runapi.ai/public/prompts/previews/8aa72b98ff349ea4845f760d5669ebd9c2d2a281358d18458030e99b95518389-runapi-ai.jpg",
    "about": [
      "image",
      "gpt-image-2",
      "lifestyle"
    ]
  }
]
```
