---
title: Prompt Korean Infographic on Fair Selection pour gpt-image-2 | RunAPI
description: Copiez ce prompt RunAPI, consultez les étapes de configuration d'agent et utilisez le code API pour gpt-image-2.
url: https://runapi.ai/fr/prompts/prompt-Aj5rj0.md
canonical: https://runapi.ai/ko/prompts/prompt-Aj5rj0
locale: fr
site: RunAPI
image: https://runapi.ai/assets/opengraph-bfaaa0f0.png
prompt_id: 17495
model: gpt-image-2
modality: image
endpoint: "/api/v1/gpt_image_2/text_to_image"
---

> HTML version: https://runapi.ai/fr/prompts/prompt-Aj5rj0
> Site index for agents: https://runapi.ai/llms.txt


# Korean Infographic on Fair Selection

Copiez ce prompt RunAPI, consultez les étapes de configuration d'agent et utilisez le code API pour gpt-image-2.

**Prompts** · Image

![Korean Infographic on Fair Selection preview](https://cdn.runapi.ai/public/prompts/previews/bc0860c797a22c468b7f9d289086410ab00a2315bb5efba8d63e0a9c59de768c-runapi-ai.jpg)

## Prompt

```text
{"type":"educational Korean infographic comic","style":"clean textbook-style digital illustration with bold black panel borders, soft flat colors, slightly cartooned semi-realistic characters, rounded speech bubbles, readable Korean text, classroom handout layout","topic":"fair choice and random selection","language":"Korean","page":{"orientation":"portrait","background":"light beige paper tone","border":"thin black outer border","panelCount":6},"title":{"text":"29강 – 게이트웨이: 공정한 선택과 추첨","position":"top center","style":"large bold Korean sans-serif"},"layout":{"sections":[{"position":"top-left","count":1,"scene":"a male student in a green hoodie sits at a desk with an open book, hand on chin, city skyline visible through large windows behind him, indoor study room with potted plant","textElements":{"speechBubbles":["사람들의 의견이 다르면 하나의 결정을 내려야 해.","이때 공정하게 정하려면 추첨이 필요할 수 있어."]}},{"position":"top-right","count":1,"scene":"example panel with two students facing each other, boy in blue hoodie on the left and girl in yellow sweater on the right, small cards between them showing blue a and red b with vs in the middle","textElements":{"header":"예: 선택지가 a와 b, 사람은 두 명","speechBubbles":["나는 a가 좋아.","나는 b가 좋아."],"labels":["사람 1","사람 2"],"footer":"한쪽을 바로 고르면 공정성이 깨질 수 있어."}},{"position":"middle-left","count":1,"scene":"principles panel divided into 2 sub-boxes with icons","textElements":{"header":"중요한 공정성 원칙 두 가지","subsections":[{"title":"익명성","description":"누가 말했는지보다 의견이 같게 다뤄져야 해."},{"title":"중립성","description":"a와 b 중 어느 쪽에도 편들지 않아야 해."}],"footer":"두 원칙을 지키려면 추첨이 도움이 돼."},"icons":["2 person icons with double arrow","balance scale with a and b blocks"]},{"position":"middle-right","count":1,"scene":"a male student in green hoodie points upward beside a majority-vote table","textElements":{"speechBubble":"많은 결정 규칙도 동점이면 추첨을 써.","tableHeader":"예: 다수결","rows":["a 많음 → a 선택","b 많음 → b 선택","동점 → 추첨"],"footer":"즉, 동점일 때는 무작위 방식이 필요해."},"table":{"rowCount":3,"visuals":"three colored voter groups with circles labeled a and b"}},{"position":"bottom-left","count":1,"scene":"ancient Athens historical scene with 5 visible figures in foreground and crowd behind, two men draw lots from a large clay pot, classical Greek buildings and Acropolis in the background","textElements":{"header":"추첨은 고대 아테네에서도 중요했어.","speechBubble":"관직을 추첨으로 뽑아 시민에게 기회를 주었지.","footer":"당시 사람들은 이를 민주주의의 특징으로 봤어."}},{"position":"bottom-right","count":1,"scene":"modern student in green hoodie using a gray laptop at a desk with coffee cup, bookshelf, plant, and city skyline through windows","textElements":{"header":"오늘날에도 정치학에서 다시 주목받고 있어.","callouts":["다양한 의견 반영","특정 집단 편들기 방지","운에 따른 공정한 기회","고대부터 현대까지 활용"],"footer":"결론: 여러 의견을 하나로 모을 때 추첨은 공정한 선택을 돕는다."},"icons":["3 person symbol","ballot box","pair of dice","globe"]}]},"characters":{"mainStudent":{"gender":"male","age":"teen or young adult","hair":"messy short black hair","outfit":"green hoodie"},"secondaryCharacters":[{"count":1,"description":"male student in blue hoodie"},{"count":1,"description":"female student with short brown bob haircut in yellow sweater"},{"count":5,"description":"ancient Greek figures in draped robes in the Athens panel foreground"}]},"visualNotes":{"textLegibility":"highly legible Korean typography","colorPalette":"muted cream, green, blue, yellow, terracotta, and gray","composition":"6-panel educational comic infographic with equal-sized rectangular panels and rounded internal text boxes","mood":"clear, informative, approachable"}}
```

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

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

### Générer ce prompt

| Modèle | GPT Image 2 2 |
|---|---|
| Coût estimé | $0.03 / appel |
| Endpoint | `/api/v1/gpt_image_2/text_to_image` |

[Connectez-vous pour générer](https://runapi.ai/fr/login)

Votre image générée apparaîtra ici
<!-- /prompt-detail-slot: generate-cta -->

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

## Décomposition du prompt

### Sujet

Korean Infographic on Fair Selection

### Atmosphère

art / Image

### Technique

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

### Style

ancient-athens, digital-illustration, educational-infographic, fair-choice, korean-text, random-selection, six-panel

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

<!-- prompt-detail-slot: supported-models -->
## Modèles compatibles avec ce prompt

| Modalité | Modèle | Prix | Essayer |
|---|---|---|---|
| Image | Qwen 2/qwen-2-text-to-image | $0.04 / image | [Essayer](https://runapi.ai/fr/models/qwen-2/text-to-image.md) |
| Image | Qwen 3/qwen-3-pro-text-to-image | $0.04-$0.08 / image | [Essayer](https://runapi.ai/fr/models/qwen-3/pro-text-to-image.md) |
| Image | Qwen 3/qwen-3-text-to-image | $0.03 / image | [Essayer](https://runapi.ai/fr/models/qwen-3/text-to-image.md) |
| Image | Qwen Image/qwen-image-text-to-image | $0.03 / image | [Essayer](https://runapi.ai/fr/models/qwen-image/text-to-image.md) |
| Image | Wan/wan-2.7-image | $0.03 / image | [Essayer](https://runapi.ai/fr/models/wan/2.7-image.md) |

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

## DETAILS

| Field | Value |
|---|---|
| Modèle | `gpt-image-2` |
| Modality | Image |
| Category | art |
| Tags | ancient-athens, digital-illustration, educational-infographic, fair-choice, korean-text, random-selection, six-panel |

## Use with an agent

### Claude

1. claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
2. Restart Claude Code
3. Paste this prompt: Génère une image : "{"type":"educational Korean infographic comic","style":"clean textbook-style digital illustration with bold black panel borders, soft flat colors, slightly cartooned semi-realistic characters, rounded speech bubbles, readable Korean text, classroom handout layout","topic":"fair choice and random selection","language":"Korean","page":{"orientation":"portrait","background":"light beige paper tone","border":"thin black outer border","panelCount":6},"title":{"text":"29강 – 게이트웨이: 공정한 선택과 추첨","position":"top center","style":"large bold Korean sans-serif"},"layout":{"sections":[{"position":"top-left","count":1,"scene":"a male student in a green hoodie sits at a desk with an open book, hand on chin, city skyline visible through large windows behind him, indoor study room with potted plant","textElements":{"speechBubbles":["사람들의 의견이 다르면 하나의 결정을 내려야 해.","이때 공정하게 정하려면 추첨이 필요할 수 있어."]}},{"position":"top-right","count":1,"scene":"example panel with two students facing each other, boy in blue hoodie on the left and girl in yellow sweater on the right, small cards between them showing blue a and red b with vs in the middle","textElements":{"header":"예: 선택지가 a와 b, 사람은 두 명","speechBubbles":["나는 a가 좋아.","나는 b가 좋아."],"labels":["사람 1","사람 2"],"footer":"한쪽을 바로 고르면 공정성이 깨질 수 있어."}},{"position":"middle-left","count":1,"scene":"principles panel divided into 2 sub-boxes with icons","textElements":{"header":"중요한 공정성 원칙 두 가지","subsections":[{"title":"익명성","description":"누가 말했는지보다 의견이 같게 다뤄져야 해."},{"title":"중립성","description":"a와 b 중 어느 쪽에도 편들지 않아야 해."}],"footer":"두 원칙을 지키려면 추첨이 도움이 돼."},"icons":["2 person icons with double arrow","balance scale with a and b blocks"]},{"position":"middle-right","count":1,"scene":"a male student in green hoodie points upward beside a majority-vote table","textElements":{"speechBubble":"많은 결정 규칙도 동점이면 추첨을 써.","tableHeader":"예: 다수결","rows":["a 많음 → a 선택","b 많음 → b 선택","동점 → 추첨"],"footer":"즉, 동점일 때는 무작위 방식이 필요해."},"table":{"rowCount":3,"visuals":"three colored voter groups with circles labeled a and b"}},{"position":"bottom-left","count":1,"scene":"ancient Athens historical scene with 5 visible figures in foreground and crowd behind, two men draw lots from a large clay pot, classical Greek buildings and Acropolis in the background","textElements":{"header":"추첨은 고대 아테네에서도 중요했어.","speechBubble":"관직을 추첨으로 뽑아 시민에게 기회를 주었지.","footer":"당시 사람들은 이를 민주주의의 특징으로 봤어."}},{"position":"bottom-right","count":1,"scene":"modern student in green hoodie using a gray laptop at a desk with coffee cup, bookshelf, plant, and city skyline through windows","textElements":{"header":"오늘날에도 정치학에서 다시 주목받고 있어.","callouts":["다양한 의견 반영","특정 집단 편들기 방지","운에 따른 공정한 기회","고대부터 현대까지 활용"],"footer":"결론: 여러 의견을 하나로 모을 때 추첨은 공정한 선택을 돕는다."},"icons":["3 person symbol","ballot box","pair of dice","globe"]}]},"characters":{"mainStudent":{"gender":"male","age":"teen or young adult","hair":"messy short black hair","outfit":"green hoodie"},"secondaryCharacters":[{"count":1,"description":"male student in blue hoodie"},{"count":1,"description":"female student with short brown bob haircut in yellow sweater"},{"count":5,"description":"ancient Greek figures in draped robes in the Athens panel foreground"}]},"visualNotes":{"textLegibility":"highly legible Korean typography","colorPalette":"muted cream, green, blue, yellow, terracotta, and gray","composition":"6-panel educational comic infographic with equal-sized rectangular panels and rounded internal text boxes","mood":"clear, informative, approachable"}}"

### Codex

1. codex plugin install runapi-mcp@agents
2. Restart Codex
3. Paste this prompt: Génère une image : "{"type":"educational Korean infographic comic","style":"clean textbook-style digital illustration with bold black panel borders, soft flat colors, slightly cartooned semi-realistic characters, rounded speech bubbles, readable Korean text, classroom handout layout","topic":"fair choice and random selection","language":"Korean","page":{"orientation":"portrait","background":"light beige paper tone","border":"thin black outer border","panelCount":6},"title":{"text":"29강 – 게이트웨이: 공정한 선택과 추첨","position":"top center","style":"large bold Korean sans-serif"},"layout":{"sections":[{"position":"top-left","count":1,"scene":"a male student in a green hoodie sits at a desk with an open book, hand on chin, city skyline visible through large windows behind him, indoor study room with potted plant","textElements":{"speechBubbles":["사람들의 의견이 다르면 하나의 결정을 내려야 해.","이때 공정하게 정하려면 추첨이 필요할 수 있어."]}},{"position":"top-right","count":1,"scene":"example panel with two students facing each other, boy in blue hoodie on the left and girl in yellow sweater on the right, small cards between them showing blue a and red b with vs in the middle","textElements":{"header":"예: 선택지가 a와 b, 사람은 두 명","speechBubbles":["나는 a가 좋아.","나는 b가 좋아."],"labels":["사람 1","사람 2"],"footer":"한쪽을 바로 고르면 공정성이 깨질 수 있어."}},{"position":"middle-left","count":1,"scene":"principles panel divided into 2 sub-boxes with icons","textElements":{"header":"중요한 공정성 원칙 두 가지","subsections":[{"title":"익명성","description":"누가 말했는지보다 의견이 같게 다뤄져야 해."},{"title":"중립성","description":"a와 b 중 어느 쪽에도 편들지 않아야 해."}],"footer":"두 원칙을 지키려면 추첨이 도움이 돼."},"icons":["2 person icons with double arrow","balance scale with a and b blocks"]},{"position":"middle-right","count":1,"scene":"a male student in green hoodie points upward beside a majority-vote table","textElements":{"speechBubble":"많은 결정 규칙도 동점이면 추첨을 써.","tableHeader":"예: 다수결","rows":["a 많음 → a 선택","b 많음 → b 선택","동점 → 추첨"],"footer":"즉, 동점일 때는 무작위 방식이 필요해."},"table":{"rowCount":3,"visuals":"three colored voter groups with circles labeled a and b"}},{"position":"bottom-left","count":1,"scene":"ancient Athens historical scene with 5 visible figures in foreground and crowd behind, two men draw lots from a large clay pot, classical Greek buildings and Acropolis in the background","textElements":{"header":"추첨은 고대 아테네에서도 중요했어.","speechBubble":"관직을 추첨으로 뽑아 시민에게 기회를 주었지.","footer":"당시 사람들은 이를 민주주의의 특징으로 봤어."}},{"position":"bottom-right","count":1,"scene":"modern student in green hoodie using a gray laptop at a desk with coffee cup, bookshelf, plant, and city skyline through windows","textElements":{"header":"오늘날에도 정치학에서 다시 주목받고 있어.","callouts":["다양한 의견 반영","특정 집단 편들기 방지","운에 따른 공정한 기회","고대부터 현대까지 활용"],"footer":"결론: 여러 의견을 하나로 모을 때 추첨은 공정한 선택을 돕는다."},"icons":["3 person symbol","ballot box","pair of dice","globe"]}]},"characters":{"mainStudent":{"gender":"male","age":"teen or young adult","hair":"messy short black hair","outfit":"green hoodie"},"secondaryCharacters":[{"count":1,"description":"male student in blue hoodie"},{"count":1,"description":"female student with short brown bob haircut in yellow sweater"},{"count":5,"description":"ancient Greek figures in draped robes in the Athens panel foreground"}]},"visualNotes":{"textLegibility":"highly legible Korean typography","colorPalette":"muted cream, green, blue, yellow, terracotta, and gray","composition":"6-panel educational comic infographic with equal-sized rectangular panels and rounded internal text boxes","mood":"clear, informative, approachable"}}"

### Cursor

1. npx @runapi.ai/mcp init cursor
2. Restart Cursor
3. Paste this prompt: Génère une image : "{"type":"educational Korean infographic comic","style":"clean textbook-style digital illustration with bold black panel borders, soft flat colors, slightly cartooned semi-realistic characters, rounded speech bubbles, readable Korean text, classroom handout layout","topic":"fair choice and random selection","language":"Korean","page":{"orientation":"portrait","background":"light beige paper tone","border":"thin black outer border","panelCount":6},"title":{"text":"29강 – 게이트웨이: 공정한 선택과 추첨","position":"top center","style":"large bold Korean sans-serif"},"layout":{"sections":[{"position":"top-left","count":1,"scene":"a male student in a green hoodie sits at a desk with an open book, hand on chin, city skyline visible through large windows behind him, indoor study room with potted plant","textElements":{"speechBubbles":["사람들의 의견이 다르면 하나의 결정을 내려야 해.","이때 공정하게 정하려면 추첨이 필요할 수 있어."]}},{"position":"top-right","count":1,"scene":"example panel with two students facing each other, boy in blue hoodie on the left and girl in yellow sweater on the right, small cards between them showing blue a and red b with vs in the middle","textElements":{"header":"예: 선택지가 a와 b, 사람은 두 명","speechBubbles":["나는 a가 좋아.","나는 b가 좋아."],"labels":["사람 1","사람 2"],"footer":"한쪽을 바로 고르면 공정성이 깨질 수 있어."}},{"position":"middle-left","count":1,"scene":"principles panel divided into 2 sub-boxes with icons","textElements":{"header":"중요한 공정성 원칙 두 가지","subsections":[{"title":"익명성","description":"누가 말했는지보다 의견이 같게 다뤄져야 해."},{"title":"중립성","description":"a와 b 중 어느 쪽에도 편들지 않아야 해."}],"footer":"두 원칙을 지키려면 추첨이 도움이 돼."},"icons":["2 person icons with double arrow","balance scale with a and b blocks"]},{"position":"middle-right","count":1,"scene":"a male student in green hoodie points upward beside a majority-vote table","textElements":{"speechBubble":"많은 결정 규칙도 동점이면 추첨을 써.","tableHeader":"예: 다수결","rows":["a 많음 → a 선택","b 많음 → b 선택","동점 → 추첨"],"footer":"즉, 동점일 때는 무작위 방식이 필요해."},"table":{"rowCount":3,"visuals":"three colored voter groups with circles labeled a and b"}},{"position":"bottom-left","count":1,"scene":"ancient Athens historical scene with 5 visible figures in foreground and crowd behind, two men draw lots from a large clay pot, classical Greek buildings and Acropolis in the background","textElements":{"header":"추첨은 고대 아테네에서도 중요했어.","speechBubble":"관직을 추첨으로 뽑아 시민에게 기회를 주었지.","footer":"당시 사람들은 이를 민주주의의 특징으로 봤어."}},{"position":"bottom-right","count":1,"scene":"modern student in green hoodie using a gray laptop at a desk with coffee cup, bookshelf, plant, and city skyline through windows","textElements":{"header":"오늘날에도 정치학에서 다시 주목받고 있어.","callouts":["다양한 의견 반영","특정 집단 편들기 방지","운에 따른 공정한 기회","고대부터 현대까지 활용"],"footer":"결론: 여러 의견을 하나로 모을 때 추첨은 공정한 선택을 돕는다."},"icons":["3 person symbol","ballot box","pair of dice","globe"]}]},"characters":{"mainStudent":{"gender":"male","age":"teen or young adult","hair":"messy short black hair","outfit":"green hoodie"},"secondaryCharacters":[{"count":1,"description":"male student in blue hoodie"},{"count":1,"description":"female student with short brown bob haircut in yellow sweater"},{"count":5,"description":"ancient Greek figures in draped robes in the Athens panel foreground"}]},"visualNotes":{"textLegibility":"highly legible Korean typography","colorPalette":"muted cream, green, blue, yellow, terracotta, and gray","composition":"6-panel educational comic infographic with equal-sized rectangular panels and rounded internal text boxes","mood":"clear, informative, approachable"}}"

### Windsurf

1. npx @runapi.ai/mcp init windsurf
2. Restart Windsurf
3. Paste this prompt: Génère une image : "{"type":"educational Korean infographic comic","style":"clean textbook-style digital illustration with bold black panel borders, soft flat colors, slightly cartooned semi-realistic characters, rounded speech bubbles, readable Korean text, classroom handout layout","topic":"fair choice and random selection","language":"Korean","page":{"orientation":"portrait","background":"light beige paper tone","border":"thin black outer border","panelCount":6},"title":{"text":"29강 – 게이트웨이: 공정한 선택과 추첨","position":"top center","style":"large bold Korean sans-serif"},"layout":{"sections":[{"position":"top-left","count":1,"scene":"a male student in a green hoodie sits at a desk with an open book, hand on chin, city skyline visible through large windows behind him, indoor study room with potted plant","textElements":{"speechBubbles":["사람들의 의견이 다르면 하나의 결정을 내려야 해.","이때 공정하게 정하려면 추첨이 필요할 수 있어."]}},{"position":"top-right","count":1,"scene":"example panel with two students facing each other, boy in blue hoodie on the left and girl in yellow sweater on the right, small cards between them showing blue a and red b with vs in the middle","textElements":{"header":"예: 선택지가 a와 b, 사람은 두 명","speechBubbles":["나는 a가 좋아.","나는 b가 좋아."],"labels":["사람 1","사람 2"],"footer":"한쪽을 바로 고르면 공정성이 깨질 수 있어."}},{"position":"middle-left","count":1,"scene":"principles panel divided into 2 sub-boxes with icons","textElements":{"header":"중요한 공정성 원칙 두 가지","subsections":[{"title":"익명성","description":"누가 말했는지보다 의견이 같게 다뤄져야 해."},{"title":"중립성","description":"a와 b 중 어느 쪽에도 편들지 않아야 해."}],"footer":"두 원칙을 지키려면 추첨이 도움이 돼."},"icons":["2 person icons with double arrow","balance scale with a and b blocks"]},{"position":"middle-right","count":1,"scene":"a male student in green hoodie points upward beside a majority-vote table","textElements":{"speechBubble":"많은 결정 규칙도 동점이면 추첨을 써.","tableHeader":"예: 다수결","rows":["a 많음 → a 선택","b 많음 → b 선택","동점 → 추첨"],"footer":"즉, 동점일 때는 무작위 방식이 필요해."},"table":{"rowCount":3,"visuals":"three colored voter groups with circles labeled a and b"}},{"position":"bottom-left","count":1,"scene":"ancient Athens historical scene with 5 visible figures in foreground and crowd behind, two men draw lots from a large clay pot, classical Greek buildings and Acropolis in the background","textElements":{"header":"추첨은 고대 아테네에서도 중요했어.","speechBubble":"관직을 추첨으로 뽑아 시민에게 기회를 주었지.","footer":"당시 사람들은 이를 민주주의의 특징으로 봤어."}},{"position":"bottom-right","count":1,"scene":"modern student in green hoodie using a gray laptop at a desk with coffee cup, bookshelf, plant, and city skyline through windows","textElements":{"header":"오늘날에도 정치학에서 다시 주목받고 있어.","callouts":["다양한 의견 반영","특정 집단 편들기 방지","운에 따른 공정한 기회","고대부터 현대까지 활용"],"footer":"결론: 여러 의견을 하나로 모을 때 추첨은 공정한 선택을 돕는다."},"icons":["3 person symbol","ballot box","pair of dice","globe"]}]},"characters":{"mainStudent":{"gender":"male","age":"teen or young adult","hair":"messy short black hair","outfit":"green hoodie"},"secondaryCharacters":[{"count":1,"description":"male student in blue hoodie"},{"count":1,"description":"female student with short brown bob haircut in yellow sweater"},{"count":5,"description":"ancient Greek figures in draped robes in the Athens panel foreground"}]},"visualNotes":{"textLegibility":"highly legible Korean typography","colorPalette":"muted cream, green, blue, yellow, terracotta, and gray","composition":"6-panel educational comic infographic with equal-sized rectangular panels and rounded internal text boxes","mood":"clear, informative, approachable"}}"

<!-- 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": "{\"type\":\"educational Korean infographic comic\",\"style\":\"clean textbook-style digital illustration with bold black panel borders, soft flat colors, slightly cartooned semi-realistic characters, rounded speech bubbles, readable Korean text, classroom handout layout\",\"topic\":\"fair choice and random selection\",\"language\":\"Korean\",\"page\":{\"orientation\":\"portrait\",\"background\":\"light beige paper tone\",\"border\":\"thin black outer border\",\"panelCount\":6},\"title\":{\"text\":\"29강 – 게이트웨이: 공정한 선택과 추첨\",\"position\":\"top center\",\"style\":\"large bold Korean sans-serif\"},\"layout\":{\"sections\":[{\"position\":\"top-left\",\"count\":1,\"scene\":\"a male student in a green hoodie sits at a desk with an open book, hand on chin, city skyline visible through large windows behind him, indoor study room with potted plant\",\"textElements\":{\"speechBubbles\":[\"사람들의 의견이 다르면 하나의 결정을 내려야 해.\",\"이때 공정하게 정하려면 추첨이 필요할 수 있어.\"]}},{\"position\":\"top-right\",\"count\":1,\"scene\":\"example panel with two students facing each other, boy in blue hoodie on the left and girl in yellow sweater on the right, small cards between them showing blue a and red b with vs in the middle\",\"textElements\":{\"header\":\"예: 선택지가 a와 b, 사람은 두 명\",\"speechBubbles\":[\"나는 a가 좋아.\",\"나는 b가 좋아.\"],\"labels\":[\"사람 1\",\"사람 2\"],\"footer\":\"한쪽을 바로 고르면 공정성이 깨질 수 있어.\"}},{\"position\":\"middle-left\",\"count\":1,\"scene\":\"principles panel divided into 2 sub-boxes with icons\",\"textElements\":{\"header\":\"중요한 공정성 원칙 두 가지\",\"subsections\":[{\"title\":\"익명성\",\"description\":\"누가 말했는지보다 의견이 같게 다뤄져야 해.\"},{\"title\":\"중립성\",\"description\":\"a와 b 중 어느 쪽에도 편들지 않아야 해.\"}],\"footer\":\"두 원칙을 지키려면 추첨이 도움이 돼.\"},\"icons\":[\"2 person icons with double arrow\",\"balance scale with a and b blocks\"]},{\"position\":\"middle-right\",\"count\":1,\"scene\":\"a male student in green hoodie points upward beside a majority-vote table\",\"textElements\":{\"speechBubble\":\"많은 결정 규칙도 동점이면 추첨을 써.\",\"tableHeader\":\"예: 다수결\",\"rows\":[\"a 많음 → a 선택\",\"b 많음 → b 선택\",\"동점 → 추첨\"],\"footer\":\"즉, 동점일 때는 무작위 방식이 필요해.\"},\"table\":{\"rowCount\":3,\"visuals\":\"three colored voter groups with circles labeled a and b\"}},{\"position\":\"bottom-left\",\"count\":1,\"scene\":\"ancient Athens historical scene with 5 visible figures in foreground and crowd behind, two men draw lots from a large clay pot, classical Greek buildings and Acropolis in the background\",\"textElements\":{\"header\":\"추첨은 고대 아테네에서도 중요했어.\",\"speechBubble\":\"관직을 추첨으로 뽑아 시민에게 기회를 주었지.\",\"footer\":\"당시 사람들은 이를 민주주의의 특징으로 봤어.\"}},{\"position\":\"bottom-right\",\"count\":1,\"scene\":\"modern student in green hoodie using a gray laptop at a desk with coffee cup, bookshelf, plant, and city skyline through windows\",\"textElements\":{\"header\":\"오늘날에도 정치학에서 다시 주목받고 있어.\",\"callouts\":[\"다양한 의견 반영\",\"특정 집단 편들기 방지\",\"운에 따른 공정한 기회\",\"고대부터 현대까지 활용\"],\"footer\":\"결론: 여러 의견을 하나로 모을 때 추첨은 공정한 선택을 돕는다.\"},\"icons\":[\"3 person symbol\",\"ballot box\",\"pair of dice\",\"globe\"]}]},\"characters\":{\"mainStudent\":{\"gender\":\"male\",\"age\":\"teen or young adult\",\"hair\":\"messy short black hair\",\"outfit\":\"green hoodie\"},\"secondaryCharacters\":[{\"count\":1,\"description\":\"male student in blue hoodie\"},{\"count\":1,\"description\":\"female student with short brown bob haircut in yellow sweater\"},{\"count\":5,\"description\":\"ancient Greek figures in draped robes in the Athens panel foreground\"}]},\"visualNotes\":{\"textLegibility\":\"highly legible Korean typography\",\"colorPalette\":\"muted cream, green, blue, yellow, terracotta, and gray\",\"composition\":\"6-panel educational comic infographic with equal-sized rectangular panels and rounded internal text boxes\",\"mood\":\"clear, informative, approachable\"}}"
}
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": "{\"type\":\"educational Korean infographic comic\",\"style\":\"clean textbook-style digital illustration with bold black panel borders, soft flat colors, slightly cartooned semi-realistic characters, rounded speech bubbles, readable Korean text, classroom handout layout\",\"topic\":\"fair choice and random selection\",\"language\":\"Korean\",\"page\":{\"orientation\":\"portrait\",\"background\":\"light beige paper tone\",\"border\":\"thin black outer border\",\"panelCount\":6},\"title\":{\"text\":\"29강 – 게이트웨이: 공정한 선택과 추첨\",\"position\":\"top center\",\"style\":\"large bold Korean sans-serif\"},\"layout\":{\"sections\":[{\"position\":\"top-left\",\"count\":1,\"scene\":\"a male student in a green hoodie sits at a desk with an open book, hand on chin, city skyline visible through large windows behind him, indoor study room with potted plant\",\"textElements\":{\"speechBubbles\":[\"사람들의 의견이 다르면 하나의 결정을 내려야 해.\",\"이때 공정하게 정하려면 추첨이 필요할 수 있어.\"]}},{\"position\":\"top-right\",\"count\":1,\"scene\":\"example panel with two students facing each other, boy in blue hoodie on the left and girl in yellow sweater on the right, small cards between them showing blue a and red b with vs in the middle\",\"textElements\":{\"header\":\"예: 선택지가 a와 b, 사람은 두 명\",\"speechBubbles\":[\"나는 a가 좋아.\",\"나는 b가 좋아.\"],\"labels\":[\"사람 1\",\"사람 2\"],\"footer\":\"한쪽을 바로 고르면 공정성이 깨질 수 있어.\"}},{\"position\":\"middle-left\",\"count\":1,\"scene\":\"principles panel divided into 2 sub-boxes with icons\",\"textElements\":{\"header\":\"중요한 공정성 원칙 두 가지\",\"subsections\":[{\"title\":\"익명성\",\"description\":\"누가 말했는지보다 의견이 같게 다뤄져야 해.\"},{\"title\":\"중립성\",\"description\":\"a와 b 중 어느 쪽에도 편들지 않아야 해.\"}],\"footer\":\"두 원칙을 지키려면 추첨이 도움이 돼.\"},\"icons\":[\"2 person icons with double arrow\",\"balance scale with a and b blocks\"]},{\"position\":\"middle-right\",\"count\":1,\"scene\":\"a male student in green hoodie points upward beside a majority-vote table\",\"textElements\":{\"speechBubble\":\"많은 결정 규칙도 동점이면 추첨을 써.\",\"tableHeader\":\"예: 다수결\",\"rows\":[\"a 많음 → a 선택\",\"b 많음 → b 선택\",\"동점 → 추첨\"],\"footer\":\"즉, 동점일 때는 무작위 방식이 필요해.\"},\"table\":{\"rowCount\":3,\"visuals\":\"three colored voter groups with circles labeled a and b\"}},{\"position\":\"bottom-left\",\"count\":1,\"scene\":\"ancient Athens historical scene with 5 visible figures in foreground and crowd behind, two men draw lots from a large clay pot, classical Greek buildings and Acropolis in the background\",\"textElements\":{\"header\":\"추첨은 고대 아테네에서도 중요했어.\",\"speechBubble\":\"관직을 추첨으로 뽑아 시민에게 기회를 주었지.\",\"footer\":\"당시 사람들은 이를 민주주의의 특징으로 봤어.\"}},{\"position\":\"bottom-right\",\"count\":1,\"scene\":\"modern student in green hoodie using a gray laptop at a desk with coffee cup, bookshelf, plant, and city skyline through windows\",\"textElements\":{\"header\":\"오늘날에도 정치학에서 다시 주목받고 있어.\",\"callouts\":[\"다양한 의견 반영\",\"특정 집단 편들기 방지\",\"운에 따른 공정한 기회\",\"고대부터 현대까지 활용\"],\"footer\":\"결론: 여러 의견을 하나로 모을 때 추첨은 공정한 선택을 돕는다.\"},\"icons\":[\"3 person symbol\",\"ballot box\",\"pair of dice\",\"globe\"]}]},\"characters\":{\"mainStudent\":{\"gender\":\"male\",\"age\":\"teen or young adult\",\"hair\":\"messy short black hair\",\"outfit\":\"green hoodie\"},\"secondaryCharacters\":[{\"count\":1,\"description\":\"male student in blue hoodie\"},{\"count\":1,\"description\":\"female student with short brown bob haircut in yellow sweater\"},{\"count\":5,\"description\":\"ancient Greek figures in draped robes in the Athens panel foreground\"}]},\"visualNotes\":{\"textLegibility\":\"highly legible Korean typography\",\"colorPalette\":\"muted cream, green, blue, yellow, terracotta, and gray\",\"composition\":\"6-panel educational comic infographic with equal-sized rectangular panels and rounded internal text boxes\",\"mood\":\"clear, informative, approachable\"}}"
});
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\": \"{\\\"type\\\":\\\"educational Korean infographic comic\\\",\\\"style\\\":\\\"clean textbook-style digital illustration with bold black panel borders, soft flat colors, slightly cartooned semi-realistic characters, rounded speech bubbles, readable Korean text, classroom handout layout\\\",\\\"topic\\\":\\\"fair choice and random selection\\\",\\\"language\\\":\\\"Korean\\\",\\\"page\\\":{\\\"orientation\\\":\\\"portrait\\\",\\\"background\\\":\\\"light beige paper tone\\\",\\\"border\\\":\\\"thin black outer border\\\",\\\"panelCount\\\":6},\\\"title\\\":{\\\"text\\\":\\\"29강 – 게이트웨이: 공정한 선택과 추첨\\\",\\\"position\\\":\\\"top center\\\",\\\"style\\\":\\\"large bold Korean sans-serif\\\"},\\\"layout\\\":{\\\"sections\\\":[{\\\"position\\\":\\\"top-left\\\",\\\"count\\\":1,\\\"scene\\\":\\\"a male student in a green hoodie sits at a desk with an open book, hand on chin, city skyline visible through large windows behind him, indoor study room with potted plant\\\",\\\"textElements\\\":{\\\"speechBubbles\\\":[\\\"사람들의 의견이 다르면 하나의 결정을 내려야 해.\\\",\\\"이때 공정하게 정하려면 추첨이 필요할 수 있어.\\\"]}},{\\\"position\\\":\\\"top-right\\\",\\\"count\\\":1,\\\"scene\\\":\\\"example panel with two students facing each other, boy in blue hoodie on the left and girl in yellow sweater on the right, small cards between them showing blue a and red b with vs in the middle\\\",\\\"textElements\\\":{\\\"header\\\":\\\"예: 선택지가 a와 b, 사람은 두 명\\\",\\\"speechBubbles\\\":[\\\"나는 a가 좋아.\\\",\\\"나는 b가 좋아.\\\"],\\\"labels\\\":[\\\"사람 1\\\",\\\"사람 2\\\"],\\\"footer\\\":\\\"한쪽을 바로 고르면 공정성이 깨질 수 있어.\\\"}},{\\\"position\\\":\\\"middle-left\\\",\\\"count\\\":1,\\\"scene\\\":\\\"principles panel divided into 2 sub-boxes with icons\\\",\\\"textElements\\\":{\\\"header\\\":\\\"중요한 공정성 원칙 두 가지\\\",\\\"subsections\\\":[{\\\"title\\\":\\\"익명성\\\",\\\"description\\\":\\\"누가 말했는지보다 의견이 같게 다뤄져야 해.\\\"},{\\\"title\\\":\\\"중립성\\\",\\\"description\\\":\\\"a와 b 중 어느 쪽에도 편들지 않아야 해.\\\"}],\\\"footer\\\":\\\"두 원칙을 지키려면 추첨이 도움이 돼.\\\"},\\\"icons\\\":[\\\"2 person icons with double arrow\\\",\\\"balance scale with a and b blocks\\\"]},{\\\"position\\\":\\\"middle-right\\\",\\\"count\\\":1,\\\"scene\\\":\\\"a male student in green hoodie points upward beside a majority-vote table\\\",\\\"textElements\\\":{\\\"speechBubble\\\":\\\"많은 결정 규칙도 동점이면 추첨을 써.\\\",\\\"tableHeader\\\":\\\"예: 다수결\\\",\\\"rows\\\":[\\\"a 많음 → a 선택\\\",\\\"b 많음 → b 선택\\\",\\\"동점 → 추첨\\\"],\\\"footer\\\":\\\"즉, 동점일 때는 무작위 방식이 필요해.\\\"},\\\"table\\\":{\\\"rowCount\\\":3,\\\"visuals\\\":\\\"three colored voter groups with circles labeled a and b\\\"}},{\\\"position\\\":\\\"bottom-left\\\",\\\"count\\\":1,\\\"scene\\\":\\\"ancient Athens historical scene with 5 visible figures in foreground and crowd behind, two men draw lots from a large clay pot, classical Greek buildings and Acropolis in the background\\\",\\\"textElements\\\":{\\\"header\\\":\\\"추첨은 고대 아테네에서도 중요했어.\\\",\\\"speechBubble\\\":\\\"관직을 추첨으로 뽑아 시민에게 기회를 주었지.\\\",\\\"footer\\\":\\\"당시 사람들은 이를 민주주의의 특징으로 봤어.\\\"}},{\\\"position\\\":\\\"bottom-right\\\",\\\"count\\\":1,\\\"scene\\\":\\\"modern student in green hoodie using a gray laptop at a desk with coffee cup, bookshelf, plant, and city skyline through windows\\\",\\\"textElements\\\":{\\\"header\\\":\\\"오늘날에도 정치학에서 다시 주목받고 있어.\\\",\\\"callouts\\\":[\\\"다양한 의견 반영\\\",\\\"특정 집단 편들기 방지\\\",\\\"운에 따른 공정한 기회\\\",\\\"고대부터 현대까지 활용\\\"],\\\"footer\\\":\\\"결론: 여러 의견을 하나로 모을 때 추첨은 공정한 선택을 돕는다.\\\"},\\\"icons\\\":[\\\"3 person symbol\\\",\\\"ballot box\\\",\\\"pair of dice\\\",\\\"globe\\\"]}]},\\\"characters\\\":{\\\"mainStudent\\\":{\\\"gender\\\":\\\"male\\\",\\\"age\\\":\\\"teen or young adult\\\",\\\"hair\\\":\\\"messy short black hair\\\",\\\"outfit\\\":\\\"green hoodie\\\"},\\\"secondaryCharacters\\\":[{\\\"count\\\":1,\\\"description\\\":\\\"male student in blue hoodie\\\"},{\\\"count\\\":1,\\\"description\\\":\\\"female student with short brown bob haircut in yellow sweater\\\"},{\\\"count\\\":5,\\\"description\\\":\\\"ancient Greek figures in draped robes in the Athens panel foreground\\\"}]},\\\"visualNotes\\\":{\\\"textLegibility\\\":\\\"highly legible Korean typography\\\",\\\"colorPalette\\\":\\\"muted cream, green, blue, yellow, terracotta, and gray\\\",\\\"composition\\\":\\\"6-panel educational comic infographic with equal-sized rectangular panels and rounded internal text boxes\\\",\\\"mood\\\":\\\"clear, informative, approachable\\\"}}\"\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\": \"{\\\"type\\\":\\\"educational Korean infographic comic\\\",\\\"style\\\":\\\"clean textbook-style digital illustration with bold black panel borders, soft flat colors, slightly cartooned semi-realistic characters, rounded speech bubbles, readable Korean text, classroom handout layout\\\",\\\"topic\\\":\\\"fair choice and random selection\\\",\\\"language\\\":\\\"Korean\\\",\\\"page\\\":{\\\"orientation\\\":\\\"portrait\\\",\\\"background\\\":\\\"light beige paper tone\\\",\\\"border\\\":\\\"thin black outer border\\\",\\\"panelCount\\\":6},\\\"title\\\":{\\\"text\\\":\\\"29강 – 게이트웨이: 공정한 선택과 추첨\\\",\\\"position\\\":\\\"top center\\\",\\\"style\\\":\\\"large bold Korean sans-serif\\\"},\\\"layout\\\":{\\\"sections\\\":[{\\\"position\\\":\\\"top-left\\\",\\\"count\\\":1,\\\"scene\\\":\\\"a male student in a green hoodie sits at a desk with an open book, hand on chin, city skyline visible through large windows behind him, indoor study room with potted plant\\\",\\\"textElements\\\":{\\\"speechBubbles\\\":[\\\"사람들의 의견이 다르면 하나의 결정을 내려야 해.\\\",\\\"이때 공정하게 정하려면 추첨이 필요할 수 있어.\\\"]}},{\\\"position\\\":\\\"top-right\\\",\\\"count\\\":1,\\\"scene\\\":\\\"example panel with two students facing each other, boy in blue hoodie on the left and girl in yellow sweater on the right, small cards between them showing blue a and red b with vs in the middle\\\",\\\"textElements\\\":{\\\"header\\\":\\\"예: 선택지가 a와 b, 사람은 두 명\\\",\\\"speechBubbles\\\":[\\\"나는 a가 좋아.\\\",\\\"나는 b가 좋아.\\\"],\\\"labels\\\":[\\\"사람 1\\\",\\\"사람 2\\\"],\\\"footer\\\":\\\"한쪽을 바로 고르면 공정성이 깨질 수 있어.\\\"}},{\\\"position\\\":\\\"middle-left\\\",\\\"count\\\":1,\\\"scene\\\":\\\"principles panel divided into 2 sub-boxes with icons\\\",\\\"textElements\\\":{\\\"header\\\":\\\"중요한 공정성 원칙 두 가지\\\",\\\"subsections\\\":[{\\\"title\\\":\\\"익명성\\\",\\\"description\\\":\\\"누가 말했는지보다 의견이 같게 다뤄져야 해.\\\"},{\\\"title\\\":\\\"중립성\\\",\\\"description\\\":\\\"a와 b 중 어느 쪽에도 편들지 않아야 해.\\\"}],\\\"footer\\\":\\\"두 원칙을 지키려면 추첨이 도움이 돼.\\\"},\\\"icons\\\":[\\\"2 person icons with double arrow\\\",\\\"balance scale with a and b blocks\\\"]},{\\\"position\\\":\\\"middle-right\\\",\\\"count\\\":1,\\\"scene\\\":\\\"a male student in green hoodie points upward beside a majority-vote table\\\",\\\"textElements\\\":{\\\"speechBubble\\\":\\\"많은 결정 규칙도 동점이면 추첨을 써.\\\",\\\"tableHeader\\\":\\\"예: 다수결\\\",\\\"rows\\\":[\\\"a 많음 → a 선택\\\",\\\"b 많음 → b 선택\\\",\\\"동점 → 추첨\\\"],\\\"footer\\\":\\\"즉, 동점일 때는 무작위 방식이 필요해.\\\"},\\\"table\\\":{\\\"rowCount\\\":3,\\\"visuals\\\":\\\"three colored voter groups with circles labeled a and b\\\"}},{\\\"position\\\":\\\"bottom-left\\\",\\\"count\\\":1,\\\"scene\\\":\\\"ancient Athens historical scene with 5 visible figures in foreground and crowd behind, two men draw lots from a large clay pot, classical Greek buildings and Acropolis in the background\\\",\\\"textElements\\\":{\\\"header\\\":\\\"추첨은 고대 아테네에서도 중요했어.\\\",\\\"speechBubble\\\":\\\"관직을 추첨으로 뽑아 시민에게 기회를 주었지.\\\",\\\"footer\\\":\\\"당시 사람들은 이를 민주주의의 특징으로 봤어.\\\"}},{\\\"position\\\":\\\"bottom-right\\\",\\\"count\\\":1,\\\"scene\\\":\\\"modern student in green hoodie using a gray laptop at a desk with coffee cup, bookshelf, plant, and city skyline through windows\\\",\\\"textElements\\\":{\\\"header\\\":\\\"오늘날에도 정치학에서 다시 주목받고 있어.\\\",\\\"callouts\\\":[\\\"다양한 의견 반영\\\",\\\"특정 집단 편들기 방지\\\",\\\"운에 따른 공정한 기회\\\",\\\"고대부터 현대까지 활용\\\"],\\\"footer\\\":\\\"결론: 여러 의견을 하나로 모을 때 추첨은 공정한 선택을 돕는다.\\\"},\\\"icons\\\":[\\\"3 person symbol\\\",\\\"ballot box\\\",\\\"pair of dice\\\",\\\"globe\\\"]}]},\\\"characters\\\":{\\\"mainStudent\\\":{\\\"gender\\\":\\\"male\\\",\\\"age\\\":\\\"teen or young adult\\\",\\\"hair\\\":\\\"messy short black hair\\\",\\\"outfit\\\":\\\"green hoodie\\\"},\\\"secondaryCharacters\\\":[{\\\"count\\\":1,\\\"description\\\":\\\"male student in blue hoodie\\\"},{\\\"count\\\":1,\\\"description\\\":\\\"female student with short brown bob haircut in yellow sweater\\\"},{\\\"count\\\":5,\\\"description\\\":\\\"ancient Greek figures in draped robes in the Athens panel foreground\\\"}]},\\\"visualNotes\\\":{\\\"textLegibility\\\":\\\"highly legible Korean typography\\\",\\\"colorPalette\\\":\\\"muted cream, green, blue, yellow, terracotta, and gray\\\",\\\"composition\\\":\\\"6-panel educational comic infographic with equal-sized rectangular panels and rounded internal text boxes\\\",\\\"mood\\\":\\\"clear, informative, approachable\\\"}}\"\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\": \"{\\\"type\\\":\\\"educational Korean infographic comic\\\",\\\"style\\\":\\\"clean textbook-style digital illustration with bold black panel borders, soft flat colors, slightly cartooned semi-realistic characters, rounded speech bubbles, readable Korean text, classroom handout layout\\\",\\\"topic\\\":\\\"fair choice and random selection\\\",\\\"language\\\":\\\"Korean\\\",\\\"page\\\":{\\\"orientation\\\":\\\"portrait\\\",\\\"background\\\":\\\"light beige paper tone\\\",\\\"border\\\":\\\"thin black outer border\\\",\\\"panelCount\\\":6},\\\"title\\\":{\\\"text\\\":\\\"29강 – 게이트웨이: 공정한 선택과 추첨\\\",\\\"position\\\":\\\"top center\\\",\\\"style\\\":\\\"large bold Korean sans-serif\\\"},\\\"layout\\\":{\\\"sections\\\":[{\\\"position\\\":\\\"top-left\\\",\\\"count\\\":1,\\\"scene\\\":\\\"a male student in a green hoodie sits at a desk with an open book, hand on chin, city skyline visible through large windows behind him, indoor study room with potted plant\\\",\\\"textElements\\\":{\\\"speechBubbles\\\":[\\\"사람들의 의견이 다르면 하나의 결정을 내려야 해.\\\",\\\"이때 공정하게 정하려면 추첨이 필요할 수 있어.\\\"]}},{\\\"position\\\":\\\"top-right\\\",\\\"count\\\":1,\\\"scene\\\":\\\"example panel with two students facing each other, boy in blue hoodie on the left and girl in yellow sweater on the right, small cards between them showing blue a and red b with vs in the middle\\\",\\\"textElements\\\":{\\\"header\\\":\\\"예: 선택지가 a와 b, 사람은 두 명\\\",\\\"speechBubbles\\\":[\\\"나는 a가 좋아.\\\",\\\"나는 b가 좋아.\\\"],\\\"labels\\\":[\\\"사람 1\\\",\\\"사람 2\\\"],\\\"footer\\\":\\\"한쪽을 바로 고르면 공정성이 깨질 수 있어.\\\"}},{\\\"position\\\":\\\"middle-left\\\",\\\"count\\\":1,\\\"scene\\\":\\\"principles panel divided into 2 sub-boxes with icons\\\",\\\"textElements\\\":{\\\"header\\\":\\\"중요한 공정성 원칙 두 가지\\\",\\\"subsections\\\":[{\\\"title\\\":\\\"익명성\\\",\\\"description\\\":\\\"누가 말했는지보다 의견이 같게 다뤄져야 해.\\\"},{\\\"title\\\":\\\"중립성\\\",\\\"description\\\":\\\"a와 b 중 어느 쪽에도 편들지 않아야 해.\\\"}],\\\"footer\\\":\\\"두 원칙을 지키려면 추첨이 도움이 돼.\\\"},\\\"icons\\\":[\\\"2 person icons with double arrow\\\",\\\"balance scale with a and b blocks\\\"]},{\\\"position\\\":\\\"middle-right\\\",\\\"count\\\":1,\\\"scene\\\":\\\"a male student in green hoodie points upward beside a majority-vote table\\\",\\\"textElements\\\":{\\\"speechBubble\\\":\\\"많은 결정 규칙도 동점이면 추첨을 써.\\\",\\\"tableHeader\\\":\\\"예: 다수결\\\",\\\"rows\\\":[\\\"a 많음 → a 선택\\\",\\\"b 많음 → b 선택\\\",\\\"동점 → 추첨\\\"],\\\"footer\\\":\\\"즉, 동점일 때는 무작위 방식이 필요해.\\\"},\\\"table\\\":{\\\"rowCount\\\":3,\\\"visuals\\\":\\\"three colored voter groups with circles labeled a and b\\\"}},{\\\"position\\\":\\\"bottom-left\\\",\\\"count\\\":1,\\\"scene\\\":\\\"ancient Athens historical scene with 5 visible figures in foreground and crowd behind, two men draw lots from a large clay pot, classical Greek buildings and Acropolis in the background\\\",\\\"textElements\\\":{\\\"header\\\":\\\"추첨은 고대 아테네에서도 중요했어.\\\",\\\"speechBubble\\\":\\\"관직을 추첨으로 뽑아 시민에게 기회를 주었지.\\\",\\\"footer\\\":\\\"당시 사람들은 이를 민주주의의 특징으로 봤어.\\\"}},{\\\"position\\\":\\\"bottom-right\\\",\\\"count\\\":1,\\\"scene\\\":\\\"modern student in green hoodie using a gray laptop at a desk with coffee cup, bookshelf, plant, and city skyline through windows\\\",\\\"textElements\\\":{\\\"header\\\":\\\"오늘날에도 정치학에서 다시 주목받고 있어.\\\",\\\"callouts\\\":[\\\"다양한 의견 반영\\\",\\\"특정 집단 편들기 방지\\\",\\\"운에 따른 공정한 기회\\\",\\\"고대부터 현대까지 활용\\\"],\\\"footer\\\":\\\"결론: 여러 의견을 하나로 모을 때 추첨은 공정한 선택을 돕는다.\\\"},\\\"icons\\\":[\\\"3 person symbol\\\",\\\"ballot box\\\",\\\"pair of dice\\\",\\\"globe\\\"]}]},\\\"characters\\\":{\\\"mainStudent\\\":{\\\"gender\\\":\\\"male\\\",\\\"age\\\":\\\"teen or young adult\\\",\\\"hair\\\":\\\"messy short black hair\\\",\\\"outfit\\\":\\\"green hoodie\\\"},\\\"secondaryCharacters\\\":[{\\\"count\\\":1,\\\"description\\\":\\\"male student in blue hoodie\\\"},{\\\"count\\\":1,\\\"description\\\":\\\"female student with short brown bob haircut in yellow sweater\\\"},{\\\"count\\\":5,\\\"description\\\":\\\"ancient Greek figures in draped robes in the Athens panel foreground\\\"}]},\\\"visualNotes\\\":{\\\"textLegibility\\\":\\\"highly legible Korean typography\\\",\\\"colorPalette\\\":\\\"muted cream, green, blue, yellow, terracotta, and gray\\\",\\\"composition\\\":\\\"6-panel educational comic infographic with equal-sized rectangular panels and rounded internal text boxes\\\",\\\"mood\\\":\\\"clear, informative, approachable\\\"}}\"\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\": \"{\\\"type\\\":\\\"educational Korean infographic comic\\\",\\\"style\\\":\\\"clean textbook-style digital illustration with bold black panel borders, soft flat colors, slightly cartooned semi-realistic characters, rounded speech bubbles, readable Korean text, classroom handout layout\\\",\\\"topic\\\":\\\"fair choice and random selection\\\",\\\"language\\\":\\\"Korean\\\",\\\"page\\\":{\\\"orientation\\\":\\\"portrait\\\",\\\"background\\\":\\\"light beige paper tone\\\",\\\"border\\\":\\\"thin black outer border\\\",\\\"panelCount\\\":6},\\\"title\\\":{\\\"text\\\":\\\"29강 – 게이트웨이: 공정한 선택과 추첨\\\",\\\"position\\\":\\\"top center\\\",\\\"style\\\":\\\"large bold Korean sans-serif\\\"},\\\"layout\\\":{\\\"sections\\\":[{\\\"position\\\":\\\"top-left\\\",\\\"count\\\":1,\\\"scene\\\":\\\"a male student in a green hoodie sits at a desk with an open book, hand on chin, city skyline visible through large windows behind him, indoor study room with potted plant\\\",\\\"textElements\\\":{\\\"speechBubbles\\\":[\\\"사람들의 의견이 다르면 하나의 결정을 내려야 해.\\\",\\\"이때 공정하게 정하려면 추첨이 필요할 수 있어.\\\"]}},{\\\"position\\\":\\\"top-right\\\",\\\"count\\\":1,\\\"scene\\\":\\\"example panel with two students facing each other, boy in blue hoodie on the left and girl in yellow sweater on the right, small cards between them showing blue a and red b with vs in the middle\\\",\\\"textElements\\\":{\\\"header\\\":\\\"예: 선택지가 a와 b, 사람은 두 명\\\",\\\"speechBubbles\\\":[\\\"나는 a가 좋아.\\\",\\\"나는 b가 좋아.\\\"],\\\"labels\\\":[\\\"사람 1\\\",\\\"사람 2\\\"],\\\"footer\\\":\\\"한쪽을 바로 고르면 공정성이 깨질 수 있어.\\\"}},{\\\"position\\\":\\\"middle-left\\\",\\\"count\\\":1,\\\"scene\\\":\\\"principles panel divided into 2 sub-boxes with icons\\\",\\\"textElements\\\":{\\\"header\\\":\\\"중요한 공정성 원칙 두 가지\\\",\\\"subsections\\\":[{\\\"title\\\":\\\"익명성\\\",\\\"description\\\":\\\"누가 말했는지보다 의견이 같게 다뤄져야 해.\\\"},{\\\"title\\\":\\\"중립성\\\",\\\"description\\\":\\\"a와 b 중 어느 쪽에도 편들지 않아야 해.\\\"}],\\\"footer\\\":\\\"두 원칙을 지키려면 추첨이 도움이 돼.\\\"},\\\"icons\\\":[\\\"2 person icons with double arrow\\\",\\\"balance scale with a and b blocks\\\"]},{\\\"position\\\":\\\"middle-right\\\",\\\"count\\\":1,\\\"scene\\\":\\\"a male student in green hoodie points upward beside a majority-vote table\\\",\\\"textElements\\\":{\\\"speechBubble\\\":\\\"많은 결정 규칙도 동점이면 추첨을 써.\\\",\\\"tableHeader\\\":\\\"예: 다수결\\\",\\\"rows\\\":[\\\"a 많음 → a 선택\\\",\\\"b 많음 → b 선택\\\",\\\"동점 → 추첨\\\"],\\\"footer\\\":\\\"즉, 동점일 때는 무작위 방식이 필요해.\\\"},\\\"table\\\":{\\\"rowCount\\\":3,\\\"visuals\\\":\\\"three colored voter groups with circles labeled a and b\\\"}},{\\\"position\\\":\\\"bottom-left\\\",\\\"count\\\":1,\\\"scene\\\":\\\"ancient Athens historical scene with 5 visible figures in foreground and crowd behind, two men draw lots from a large clay pot, classical Greek buildings and Acropolis in the background\\\",\\\"textElements\\\":{\\\"header\\\":\\\"추첨은 고대 아테네에서도 중요했어.\\\",\\\"speechBubble\\\":\\\"관직을 추첨으로 뽑아 시민에게 기회를 주었지.\\\",\\\"footer\\\":\\\"당시 사람들은 이를 민주주의의 특징으로 봤어.\\\"}},{\\\"position\\\":\\\"bottom-right\\\",\\\"count\\\":1,\\\"scene\\\":\\\"modern student in green hoodie using a gray laptop at a desk with coffee cup, bookshelf, plant, and city skyline through windows\\\",\\\"textElements\\\":{\\\"header\\\":\\\"오늘날에도 정치학에서 다시 주목받고 있어.\\\",\\\"callouts\\\":[\\\"다양한 의견 반영\\\",\\\"특정 집단 편들기 방지\\\",\\\"운에 따른 공정한 기회\\\",\\\"고대부터 현대까지 활용\\\"],\\\"footer\\\":\\\"결론: 여러 의견을 하나로 모을 때 추첨은 공정한 선택을 돕는다.\\\"},\\\"icons\\\":[\\\"3 person symbol\\\",\\\"ballot box\\\",\\\"pair of dice\\\",\\\"globe\\\"]}]},\\\"characters\\\":{\\\"mainStudent\\\":{\\\"gender\\\":\\\"male\\\",\\\"age\\\":\\\"teen or young adult\\\",\\\"hair\\\":\\\"messy short black hair\\\",\\\"outfit\\\":\\\"green hoodie\\\"},\\\"secondaryCharacters\\\":[{\\\"count\\\":1,\\\"description\\\":\\\"male student in blue hoodie\\\"},{\\\"count\\\":1,\\\"description\\\":\\\"female student with short brown bob haircut in yellow sweater\\\"},{\\\"count\\\":5,\\\"description\\\":\\\"ancient Greek figures in draped robes in the Athens panel foreground\\\"}]},\\\"visualNotes\\\":{\\\"textLegibility\\\":\\\"highly legible Korean typography\\\",\\\"colorPalette\\\":\\\"muted cream, green, blue, yellow, terracotta, and gray\\\",\\\"composition\\\":\\\"6-panel educational comic infographic with equal-sized rectangular panels and rounded internal text boxes\\\",\\\"mood\\\":\\\"clear, informative, approachable\\\"}}\"\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\":\"{\\\"type\\\":\\\"educational Korean infographic comic\\\",\\\"style\\\":\\\"clean textbook-style digital illustration with bold black panel borders, soft flat colors, slightly cartooned semi-realistic characters, rounded speech bubbles, readable Korean text, classroom handout layout\\\",\\\"topic\\\":\\\"fair choice and random selection\\\",\\\"language\\\":\\\"Korean\\\",\\\"page\\\":{\\\"orientation\\\":\\\"portrait\\\",\\\"background\\\":\\\"light beige paper tone\\\",\\\"border\\\":\\\"thin black outer border\\\",\\\"panelCount\\\":6},\\\"title\\\":{\\\"text\\\":\\\"29강 – 게이트웨이: 공정한 선택과 추첨\\\",\\\"position\\\":\\\"top center\\\",\\\"style\\\":\\\"large bold Korean sans-serif\\\"},\\\"layout\\\":{\\\"sections\\\":[{\\\"position\\\":\\\"top-left\\\",\\\"count\\\":1,\\\"scene\\\":\\\"a male student in a green hoodie sits at a desk with an open book, hand on chin, city skyline visible through large windows behind him, indoor study room with potted plant\\\",\\\"textElements\\\":{\\\"speechBubbles\\\":[\\\"사람들의 의견이 다르면 하나의 결정을 내려야 해.\\\",\\\"이때 공정하게 정하려면 추첨이 필요할 수 있어.\\\"]}},{\\\"position\\\":\\\"top-right\\\",\\\"count\\\":1,\\\"scene\\\":\\\"example panel with two students facing each other, boy in blue hoodie on the left and girl in yellow sweater on the right, small cards between them showing blue a and red b with vs in the middle\\\",\\\"textElements\\\":{\\\"header\\\":\\\"예: 선택지가 a와 b, 사람은 두 명\\\",\\\"speechBubbles\\\":[\\\"나는 a가 좋아.\\\",\\\"나는 b가 좋아.\\\"],\\\"labels\\\":[\\\"사람 1\\\",\\\"사람 2\\\"],\\\"footer\\\":\\\"한쪽을 바로 고르면 공정성이 깨질 수 있어.\\\"}},{\\\"position\\\":\\\"middle-left\\\",\\\"count\\\":1,\\\"scene\\\":\\\"principles panel divided into 2 sub-boxes with icons\\\",\\\"textElements\\\":{\\\"header\\\":\\\"중요한 공정성 원칙 두 가지\\\",\\\"subsections\\\":[{\\\"title\\\":\\\"익명성\\\",\\\"description\\\":\\\"누가 말했는지보다 의견이 같게 다뤄져야 해.\\\"},{\\\"title\\\":\\\"중립성\\\",\\\"description\\\":\\\"a와 b 중 어느 쪽에도 편들지 않아야 해.\\\"}],\\\"footer\\\":\\\"두 원칙을 지키려면 추첨이 도움이 돼.\\\"},\\\"icons\\\":[\\\"2 person icons with double arrow\\\",\\\"balance scale with a and b blocks\\\"]},{\\\"position\\\":\\\"middle-right\\\",\\\"count\\\":1,\\\"scene\\\":\\\"a male student in green hoodie points upward beside a majority-vote table\\\",\\\"textElements\\\":{\\\"speechBubble\\\":\\\"많은 결정 규칙도 동점이면 추첨을 써.\\\",\\\"tableHeader\\\":\\\"예: 다수결\\\",\\\"rows\\\":[\\\"a 많음 → a 선택\\\",\\\"b 많음 → b 선택\\\",\\\"동점 → 추첨\\\"],\\\"footer\\\":\\\"즉, 동점일 때는 무작위 방식이 필요해.\\\"},\\\"table\\\":{\\\"rowCount\\\":3,\\\"visuals\\\":\\\"three colored voter groups with circles labeled a and b\\\"}},{\\\"position\\\":\\\"bottom-left\\\",\\\"count\\\":1,\\\"scene\\\":\\\"ancient Athens historical scene with 5 visible figures in foreground and crowd behind, two men draw lots from a large clay pot, classical Greek buildings and Acropolis in the background\\\",\\\"textElements\\\":{\\\"header\\\":\\\"추첨은 고대 아테네에서도 중요했어.\\\",\\\"speechBubble\\\":\\\"관직을 추첨으로 뽑아 시민에게 기회를 주었지.\\\",\\\"footer\\\":\\\"당시 사람들은 이를 민주주의의 특징으로 봤어.\\\"}},{\\\"position\\\":\\\"bottom-right\\\",\\\"count\\\":1,\\\"scene\\\":\\\"modern student in green hoodie using a gray laptop at a desk with coffee cup, bookshelf, plant, and city skyline through windows\\\",\\\"textElements\\\":{\\\"header\\\":\\\"오늘날에도 정치학에서 다시 주목받고 있어.\\\",\\\"callouts\\\":[\\\"다양한 의견 반영\\\",\\\"특정 집단 편들기 방지\\\",\\\"운에 따른 공정한 기회\\\",\\\"고대부터 현대까지 활용\\\"],\\\"footer\\\":\\\"결론: 여러 의견을 하나로 모을 때 추첨은 공정한 선택을 돕는다.\\\"},\\\"icons\\\":[\\\"3 person symbol\\\",\\\"ballot box\\\",\\\"pair of dice\\\",\\\"globe\\\"]}]},\\\"characters\\\":{\\\"mainStudent\\\":{\\\"gender\\\":\\\"male\\\",\\\"age\\\":\\\"teen or young adult\\\",\\\"hair\\\":\\\"messy short black hair\\\",\\\"outfit\\\":\\\"green hoodie\\\"},\\\"secondaryCharacters\\\":[{\\\"count\\\":1,\\\"description\\\":\\\"male student in blue hoodie\\\"},{\\\"count\\\":1,\\\"description\\\":\\\"female student with short brown bob haircut in yellow sweater\\\"},{\\\"count\\\":5,\\\"description\\\":\\\"ancient Greek figures in draped robes in the Athens panel foreground\\\"}]},\\\"visualNotes\\\":{\\\"textLegibility\\\":\\\"highly legible Korean typography\\\",\\\"colorPalette\\\":\\\"muted cream, green, blue, yellow, terracotta, and gray\\\",\\\"composition\\\":\\\"6-panel educational comic infographic with equal-sized rectangular panels and rounded internal text boxes\\\",\\\"mood\\\":\\\"clear, informative, approachable\\\"}}\"}")
  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 "{\"type\":\"educational Korean infographic comic\",\"style\":\"clean textbook-style digital illustration with bold black panel borders, soft flat colors, slightly cartooned semi-realistic characters, rounded speech bubbles, readable Korean text, classroom handout layout\",\"topic\":\"fair choice and random selection\",\"language\":\"Korean\",\"page\":{\"orientation\":\"portrait\",\"background\":\"light beige paper tone\",\"border\":\"thin black outer border\",\"panelCount\":6},\"title\":{\"text\":\"29강 – 게이트웨이: 공정한 선택과 추첨\",\"position\":\"top center\",\"style\":\"large bold Korean sans-serif\"},\"layout\":{\"sections\":[{\"position\":\"top-left\",\"count\":1,\"scene\":\"a male student in a green hoodie sits at a desk with an open book, hand on chin, city skyline visible through large windows behind him, indoor study room with potted plant\",\"textElements\":{\"speechBubbles\":[\"사람들의 의견이 다르면 하나의 결정을 내려야 해.\",\"이때 공정하게 정하려면 추첨이 필요할 수 있어.\"]}},{\"position\":\"top-right\",\"count\":1,\"scene\":\"example panel with two students facing each other, boy in blue hoodie on the left and girl in yellow sweater on the right, small cards between them showing blue a and red b with vs in the middle\",\"textElements\":{\"header\":\"예: 선택지가 a와 b, 사람은 두 명\",\"speechBubbles\":[\"나는 a가 좋아.\",\"나는 b가 좋아.\"],\"labels\":[\"사람 1\",\"사람 2\"],\"footer\":\"한쪽을 바로 고르면 공정성이 깨질 수 있어.\"}},{\"position\":\"middle-left\",\"count\":1,\"scene\":\"principles panel divided into 2 sub-boxes with icons\",\"textElements\":{\"header\":\"중요한 공정성 원칙 두 가지\",\"subsections\":[{\"title\":\"익명성\",\"description\":\"누가 말했는지보다 의견이 같게 다뤄져야 해.\"},{\"title\":\"중립성\",\"description\":\"a와 b 중 어느 쪽에도 편들지 않아야 해.\"}],\"footer\":\"두 원칙을 지키려면 추첨이 도움이 돼.\"},\"icons\":[\"2 person icons with double arrow\",\"balance scale with a and b blocks\"]},{\"position\":\"middle-right\",\"count\":1,\"scene\":\"a male student in green hoodie points upward beside a majority-vote table\",\"textElements\":{\"speechBubble\":\"많은 결정 규칙도 동점이면 추첨을 써.\",\"tableHeader\":\"예: 다수결\",\"rows\":[\"a 많음 → a 선택\",\"b 많음 → b 선택\",\"동점 → 추첨\"],\"footer\":\"즉, 동점일 때는 무작위 방식이 필요해.\"},\"table\":{\"rowCount\":3,\"visuals\":\"three colored voter groups with circles labeled a and b\"}},{\"position\":\"bottom-left\",\"count\":1,\"scene\":\"ancient Athens historical scene with 5 visible figures in foreground and crowd behind, two men draw lots from a large clay pot, classical Greek buildings and Acropolis in the background\",\"textElements\":{\"header\":\"추첨은 고대 아테네에서도 중요했어.\",\"speechBubble\":\"관직을 추첨으로 뽑아 시민에게 기회를 주었지.\",\"footer\":\"당시 사람들은 이를 민주주의의 특징으로 봤어.\"}},{\"position\":\"bottom-right\",\"count\":1,\"scene\":\"modern student in green hoodie using a gray laptop at a desk with coffee cup, bookshelf, plant, and city skyline through windows\",\"textElements\":{\"header\":\"오늘날에도 정치학에서 다시 주목받고 있어.\",\"callouts\":[\"다양한 의견 반영\",\"특정 집단 편들기 방지\",\"운에 따른 공정한 기회\",\"고대부터 현대까지 활용\"],\"footer\":\"결론: 여러 의견을 하나로 모을 때 추첨은 공정한 선택을 돕는다.\"},\"icons\":[\"3 person symbol\",\"ballot box\",\"pair of dice\",\"globe\"]}]},\"characters\":{\"mainStudent\":{\"gender\":\"male\",\"age\":\"teen or young adult\",\"hair\":\"messy short black hair\",\"outfit\":\"green hoodie\"},\"secondaryCharacters\":[{\"count\":1,\"description\":\"male student in blue hoodie\"},{\"count\":1,\"description\":\"female student with short brown bob haircut in yellow sweater\"},{\"count\":5,\"description\":\"ancient Greek figures in draped robes in the Athens panel foreground\"}]},\"visualNotes\":{\"textLegibility\":\"highly legible Korean typography\",\"colorPalette\":\"muted cream, green, blue, yellow, terracotta, and gray\",\"composition\":\"6-panel educational comic infographic with equal-sized rectangular panels and rounded internal text boxes\",\"mood\":\"clear, informative, approachable\"}}" \
    --wait
```

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

## Prompts associés

- [ChatGPT Image prompt: Keep the exact same crystal heart keepsake with th...](https://runapi.ai/fr/prompts/crystal-heart-keepsake-with-skeleton-clock-7eNb1J.md) — `gpt-image-2`
- [ChatGPT Image prompt: Please generate a photorealistic image based on th...](https://runapi.ai/fr/prompts/photorealistic-studio-portrait-with-yellow-pencil-7WqEg0.md) — `gpt-image-2`
- [GPT2 Digital Refraction Art Prompt](https://runapi.ai/fr/prompts/experimental-digital-refraction-diptych-poster-73kMr7.md) — `gpt-image-2`

## Utiliser ce prompt gpt-image-2

### Comment copier ce prompt en toute sécurité ?

Utilisez le bouton de copie à côté du bloc de prompt complet. Il copie uniquement le texte du prompt, sans les étiquettes de page environnantes, afin que vous puissiez le coller dans une instruction d'agent, un corps de requête JSON ou votre propre bibliothèque de prompts.

### Pourquoi la page de détail affiche-t-elle des paramètres ?

Certains prompts ont été collectés avec des paramètres de génération sauvegardés tels que le ratio d'aspect, la durée ou les contrôles de voix. Lorsque des paramètres existent, la page les liste séparément afin que vous puissiez réutiliser le texte du prompt et les paramètres structurés ensemble.

### Quel endpoint dois-je appeler ?

Utilisez le chemin d'endpoint indiqué dans le bloc de code API. Le chemin est généré à partir du service RunAPI et du nom d'endpoint du prompt, puis rendu comme l'URL d'API publique utilisée par les exemples curl et SDK.

### Puis-je utiliser ce prompt dans un agent plutôt qu'en code ?

Oui. Choisissez Claude Code, Codex, Cursor ou Windsurf dans le sélecteur d'onglets, installez le serveur MCP RunAPI et collez l'instruction générée. L'instruction inclut le texte complet du prompt.

## Vous construisez avec une équipe ?

Nous vous aidons pour la mise en place entreprise, les intégrations et les questions techniques.

[Nous contacter](https://runapi.ai/fr/contact.md)


---

## More from RunAPI

- [Home](https://runapi.ai/fr/.md)
### Produit
- [Catalogue de modèles](https://runapi.ai/fr/models.md)
- [Tarifs](https://runapi.ai/fr/pricing.md)
- [Fournisseurs](https://runapi.ai/fr/models#all-models)
- [Galerie de prompts](https://runapi.ai/fr/prompts.md)
### Développeurs
- [Documentation](https://runapi.ai/fr/docs/guides)
- [SDK](https://runapi.ai/fr/sdk.md)
- [CLI](https://runapi.ai/fr/cli.md)
- [Serveur MCP](https://runapi.ai/fr/mcp.md)
- [x402](https://runapi.ai/fr/x402.md)
### Guides
- [Claude Code vs Cursor](https://runapi.ai/fr/claude-code-vs-cursor.md)
- [Configuration de l’API Cursor](https://runapi.ai/fr/cursor-api-setup.md)
- [RunAPI vs OpenRouter](https://runapi.ai/fr/openrouter-alternative.md)
### Entreprise
- [Entreprise](https://runapi.ai/fr/contact.md)
- [Programme de parrainage](https://runapi.ai/fr/referral-program.md)
- [Contact](https://runapi.ai/fr/contact.md)
### Légal
- [Conditions](https://runapi.ai/fr/terms.md)
- [Confidentialité](https://runapi.ai/fr/privacy.md)
- [Site index for agents](https://runapi.ai/llms.txt)

Contact: contact@runapi.ai

## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "fr",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/fr",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/fr/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "fr",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/fr",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/icon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "fr",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Accueil",
        "item": "https://runapi.ai/fr"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Prompts",
        "item": "https://runapi.ai/fr/prompts"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Image",
        "item": "https://runapi.ai/fr/prompts/image"
      },
      {
        "@type": "ListItem",
        "position": 4,
        "name": "Korean Infographic on Fair Selection",
        "item": "https://runapi.ai/ko/prompts/prompt-Aj5rj0"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "fr",
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@type": "Question",
        "name": "Comment copier ce prompt en toute sécurité ?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Utilisez le bouton de copie à côté du bloc de prompt complet. Il copie uniquement le texte du prompt, sans les étiquettes de page environnantes, afin que vous puissiez le coller dans une instruction d'agent, un corps de requête JSON ou votre propre bibliothèque de prompts."
        }
      },
      {
        "@type": "Question",
        "name": "Pourquoi la page de détail affiche-t-elle des paramètres ?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Certains prompts ont été collectés avec des paramètres de génération sauvegardés tels que le ratio d'aspect, la durée ou les contrôles de voix. Lorsque des paramètres existent, la page les liste séparément afin que vous puissiez réutiliser le texte du prompt et les paramètres structurés ensemble."
        }
      },
      {
        "@type": "Question",
        "name": "Quel endpoint dois-je appeler ?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Utilisez le chemin d'endpoint indiqué dans le bloc de code API. Le chemin est généré à partir du service RunAPI et du nom d'endpoint du prompt, puis rendu comme l'URL d'API publique utilisée par les exemples curl et SDK."
        }
      },
      {
        "@type": "Question",
        "name": "Puis-je utiliser ce prompt dans un agent plutôt qu'en code ?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Oui. Choisissez Claude Code, Codex, Cursor ou Windsurf dans le sélecteur d'onglets, installez le serveur MCP RunAPI et collez l'instruction générée. L'instruction inclut le texte complet du prompt."
        }
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "ko",
    "@type": "CreativeWork",
    "name": "Korean Infographic on Fair Selection",
    "text": "{\"type\":\"educational Korean infographic comic\",\"style\":\"clean textbook-style digital illustration with bold black panel borders, soft flat colors, slightly cartooned semi-realistic characters, rounded speech bubbles, readable Korean text, classroom handout layout\",\"topic\":\"fair choice and random selection\",\"language\":\"Korean\",\"page\":{\"orientation\":\"portrait\",\"background\":\"light beige paper tone\",\"border\":\"thin black outer border\",\"panelCount\":6},\"title\":{\"text\":\"29강 – 게이트웨이: 공정한 선택과 추첨\",\"position\":\"top center\",\"style\":\"large bold Korean sans-serif\"},\"layout\":{\"sections\":[{\"position\":\"top-left\",\"count\":1,\"scene\":\"a male student in a green hoodie sits at a desk with an open book, hand on chin, city skyline visible through large windows behind him, indoor study room with potted plant\",\"textElements\":{\"speechBubbles\":[\"사람들의 의견이 다르면 하나의 결정을 내려야 해.\",\"이때 공정하게 정하려면 추첨이 필요할 수 있어.\"]}},{\"position\":\"top-right\",\"count\":1,\"scene\":\"example panel with two students facing each other, boy in blue hoodie on the left and girl in yellow sweater on the right, small cards between them showing blue a and red b with vs in the middle\",\"textElements\":{\"header\":\"예: 선택지가 a와 b, 사람은 두 명\",\"speechBubbles\":[\"나는 a가 좋아.\",\"나는 b가 좋아.\"],\"labels\":[\"사람 1\",\"사람 2\"],\"footer\":\"한쪽을 바로 고르면 공정성이 깨질 수 있어.\"}},{\"position\":\"middle-left\",\"count\":1,\"scene\":\"principles panel divided into 2 sub-boxes with icons\",\"textElements\":{\"header\":\"중요한 공정성 원칙 두 가지\",\"subsections\":[{\"title\":\"익명성\",\"description\":\"누가 말했는지보다 의견이 같게 다뤄져야 해.\"},{\"title\":\"중립성\",\"description\":\"a와 b 중 어느 쪽에도 편들지 않아야 해.\"}],\"footer\":\"두 원칙을 지키려면 추첨이 도움이 돼.\"},\"icons\":[\"2 person icons with double arrow\",\"balance scale with a and b blocks\"]},{\"position\":\"middle-right\",\"count\":1,\"scene\":\"a male student in green hoodie points upward beside a majority-vote table\",\"textElements\":{\"speechBubble\":\"많은 결정 규칙도 동점이면 추첨을 써.\",\"tableHeader\":\"예: 다수결\",\"rows\":[\"a 많음 → a 선택\",\"b 많음 → b 선택\",\"동점 → 추첨\"],\"footer\":\"즉, 동점일 때는 무작위 방식이 필요해.\"},\"table\":{\"rowCount\":3,\"visuals\":\"three colored voter groups with circles labeled a and b\"}},{\"position\":\"bottom-left\",\"count\":1,\"scene\":\"ancient Athens historical scene with 5 visible figures in foreground and crowd behind, two men draw lots from a large clay pot, classical Greek buildings and Acropolis in the background\",\"textElements\":{\"header\":\"추첨은 고대 아테네에서도 중요했어.\",\"speechBubble\":\"관직을 추첨으로 뽑아 시민에게 기회를 주었지.\",\"footer\":\"당시 사람들은 이를 민주주의의 특징으로 봤어.\"}},{\"position\":\"bottom-right\",\"count\":1,\"scene\":\"modern student in green hoodie using a gray laptop at a desk with coffee cup, bookshelf, plant, and city skyline through windows\",\"textElements\":{\"header\":\"오늘날에도 정치학에서 다시 주목받고 있어.\",\"callouts\":[\"다양한 의견 반영\",\"특정 집단 편들기 방지\",\"운에 따른 공정한 기회\",\"고대부터 현대까지 활용\"],\"footer\":\"결론: 여러 의견을 하나로 모을 때 추첨은 공정한 선택을 돕는다.\"},\"icons\":[\"3 person symbol\",\"ballot box\",\"pair of dice\",\"globe\"]}]},\"characters\":{\"mainStudent\":{\"gender\":\"male\",\"age\":\"teen or young adult\",\"hair\":\"messy short black hair\",\"outfit\":\"green hoodie\"},\"secondaryCharacters\":[{\"count\":1,\"description\":\"male student in blue hoodie\"},{\"count\":1,\"description\":\"female student with short brown bob haircut in yellow sweater\"},{\"count\":5,\"description\":\"ancient Greek figures in draped robes in the Athens panel foreground\"}]},\"visualNotes\":{\"textLegibility\":\"highly legible Korean typography\",\"colorPalette\":\"muted cream, green, blue, yellow, terracotta, and gray\",\"composition\":\"6-panel educational comic infographic with equal-sized rectangular panels and rounded internal text boxes\",\"mood\":\"clear, informative, approachable\"}}",
    "image": "https://cdn.runapi.ai/public/prompts/previews/bc0860c797a22c468b7f9d289086410ab00a2315bb5efba8d63e0a9c59de768c-runapi-ai.jpg",
    "about": [
      "image",
      "gpt-image-2",
      "art"
    ]
  }
]
```
