---
title: Create Icons —  Prompt | RunAPI | RunAPI
description: Copy this RunAPI prompt, view agent setup steps, and use API code for .
url: https://runapi.ai/prompts/prm_wOnNkr0dDOkmsKJpDVvA9Ex3.md
canonical: https://runapi.ai/prompts/prm_wOnNkr0dDOkmsKJpDVvA9Ex3
locale: en
site: RunAPI
image: https://runapi.ai/assets/opengraph-bfaaa0f0.png
prompt_id: 13954
modality: image
endpoint: "/api/v1/runapi/text_to_image"
---

> HTML version: https://runapi.ai/prompts/prm_wOnNkr0dDOkmsKJpDVvA9Ex3
> Site index for agents: https://runapi.ai/llms.txt


# Create Icons

Copy this RunAPI prompt, view agent setup steps, and use API code for .

**Prompts** · Image

## Prompt

```text
A premium iOS app icon for a running and fitness app, featuring 
a stylized abstract runner figure in motion, composed of flowing 
gradient ribbons in energetic coral transitioning to vibrant 
magenta. The figure suggests speed and forward momentum with 
trailing motion elements. Background is a deep navy blue with 
subtle radial gradient lighter behind the figure. Dynamic, 
energetic, aspirational. Soft lighting with subtle glow around 
figure. Rounded square format, 1024x1024px.

follow the specs below and the example icon designs attached:

These specifications define the visual language of premium, modern app icons as seen in top-tier iOS/macOS applications. The goal is to produce icons that feel polished, memorable, and worthy of a flagship product.

---

## 1. Canvas & Shape

### Base Shape
- **Format:** Square with continuous rounded corners (iOS "squircle")
- **Corner Radius:** Approximately 22-24% of icon width (mimics Apple's superellipse)
- **Aspect Ratio:** 1:1
- **Recommended Resolution:** 1024×1024px (scales down cleanly)

### Safe Zone
- Keep primary elements within the center 80% of the canvas
- Allow subtle effects (glows, shadows) to approach edges but not clip

---

## 2. Background Treatments

### Solid Backgrounds
- **Dark/Black:** Pure black (#000000) to deep charcoal (#1C1C1E) — creates drama, makes elements pop
- **Vibrant Solids:** Saturated single-color fills (electric blue #007AFF, warm orange #FF9500)
- **Gradient Backgrounds:** Subtle top-to-bottom or radial gradients adding depth

### Gradient Types (when used)
| Type | Description | Example |
|------|-------------|---------|
| Linear | Soft transition, typically lighter at top | Blue sky gradient |
| Radial | Center glow effect, darker edges | Spotlight effect |
| Angular | Sweeping color transition | Iridescent surfaces |

### Texture (Subtle)
- Fine vertical/horizontal lines for metallic or fabric feel
- Noise grain at 1-3% opacity for organic warmth
- Avoid heavy textures that compete with the main symbol

---

## 3. Color Palette

### Primary Palette Characteristics
- **High Saturation:** Colors are vivid but not neon
- **Rich Darks:** Blacks and navy blues feature prominently
- **Selective Brights:** Accent colors used sparingly for impact

### Recommended Color Families

#### Cool Spectrum
```
Navy/Deep Blue:    #0A1628, #1A2744, #2D4A7C
Electric Blue:     #007AFF, #5AC8FA, #64D2FF
Purple/Violet:     #5E5CE6, #BF5AF2, #AF52DE
Teal/Cyan:         #30D5C8, #5AC8FA, #32ADE6
```

#### Warm Spectrum
```
Orange:            #FF9500, #FF6B35, #FF3B30
Pink/Coral:        #FF6B8A, #FF2D55, #FF375F
Peach/Salmon:      #FFACA8, #FF8A80, #FFB199
```

#### Neutrals
```
True Black:        #000000
Soft Black:        #1C1C1E, #2C2C2E
White:             #FFFFFF
Off-White:         #F5F5F7, #E5E5EA
```

### Color Harmony Rules
- Limit to 2-3 dominant colors per icon
- Use complementary or analogous relationships
- One color should dominate (60%), secondary (30%), accent (10%)

---

## 4. Lighting & Depth

### Light Source
- **Position:** Top-left or directly above (consistent 45° angle)
- **Quality:** Soft, diffused — no harsh shadows
- **Creates:** Subtle highlights on upper surfaces, shadows below

### Depth Techniques

#### Highlights
- Soft white/light gradient on top edges of 3D forms
- Specular reflections as small, bright spots (not overpowering)
- Rim lighting on edges facing the light

#### Shadows
- **Drop Shadows:** Soft, diffused, 10-20% opacity, slight Y offset
- **Inner Shadows:** Very subtle, adds recessed effect
- **Contact Shadows:** Darker, tighter shadows directly beneath objects

#### Layering
- Elements should appear to float above the background
- Use atmospheric perspective (distant elements slightly hazier)
- Overlapping shapes create natural hierarchy

---

## 5. Symbol & Iconography

### Style Approaches

#### A. Dimensional/3D Objects
- Soft, rounded forms with clear volume
- Subtle gradients suggesting curvature
- Examples: Paper airplane, open book, spheres

#### B. Flat with Depth Cues
- Simplified shapes with strategic shadows/highlights
- Clean geometry with slight gradients
- Examples: Flame icon, compass dial

#### C. Abstract/Geometric
- Overlapping translucent shapes
- Interlocking forms creating visual interest
- Examples: Overlapping diamonds, triangular compositions

#### D. Glassmorphic/Translucent
- Frosted glass effect with blur
- Shapes that appear to have transparency
- Subtle refraction and color bleeding

### Symbol Characteristics
- **Simplicity:** Recognizable at 16×16px
- **Balance:** Visual weight centered or intentionally dynamic
- **Originality:** Avoid generic clip-art feeling
- **Metaphor:** Symbol clearly relates to app function

### Recommended Symbol Scale
- Primary symbol: 50-70% of icon canvas
- Leave breathing room around edges
- Optical centering (may differ from mathematical center)

---

## 6. Material & Surface Qualities

### Matte Surfaces
- Soft gradients without sharp highlights
- Subtle texture possible
- Colors appear solid and grounded

### Glossy/Reflective Surfaces
- Pronounced highlights and reflections
- Increased contrast between light and dark areas
- Suggests glass, plastic, or polished metal

### Metallic Surfaces
- Linear or radial gradients mimicking metal sheen
- Cool tones for silver/chrome, warm for gold/bronze
- Fine texture lines optional

### Glass/Translucent
- Reduced opacity (60-85%)
- Blur effect on elements behind
- Colored tint with light edges
- Subtle inner glow

### Paper/Fabric
- Soft, muted colors
- Very subtle texture
- Gentle shadows suggesting flexibility

---

## 7. Effects & Polish

### Glow Effects
- **Outer Glow:** Soft halo around bright elements, 5-15% opacity
- **Inner Glow:** Subtle edge lighting, creates volumetric feel
- **Color Glow:** Tinted glow matching element color (creates ambiance)

### Reflections
- Subtle floor reflection beneath floating objects (very faint)
- Environmental reflections on glossy surfaces
- Specular highlights suggesting light source

### Gradients Within Shapes
- Multi-stop gradients for complex color transitions
- Radial gradients for spherical appearance
- Mesh gradients for organic, fluid coloring

### Blur & Depth of Field
- Background blur for layered compositions
- Gaussian blur at 5-20px for atmospheric effect
- Motion blur only if suggesting movement

---

## 8. Composition Principles

### Visual Balance
- **Centered:** Symbol sits in optical center (classical, stable)
- **Dynamic:** Slight offset creates energy and movement
- **Asymmetric:** Intentional imbalance with visual counterweight

### Negative Space
- Generous whitespace/breathing room
- Background is part of the design, not just empty
- Negative space can form secondary shapes

### Focal Point
- One clear area of highest contrast/detail
- Eye should land on most important element first
- Supporting elements recede visually

### Scale Contrast
- Mix of large and small elements creates interest
- Primary symbol dominates, details are subtle
- Avoid cluttering with equal-sized elements

---

## 9. Style Variations

### Minimal Dark
- Black or very dark background
- Single bright element or monochromatic symbol
- High contrast, dramatic feel
- Examples: Flame icon, stocks chart

### Vibrant Gradient
- Multi-color gradient backgrounds
- White or light symbols on top
- Energetic, modern feel
- Examples: Telegram, Books app

### Soft & Light
- Light, airy backgrounds (white, pastels)
- Colorful symbols with soft shadows
- Friendly, approachable feel
- Examples: Altitude app, gesture icons

### Glassmorphic
- Translucent, frosted elements
- Layered shapes with varying opacity
- Contemporary, sophisticated feel
- Examples: Shortcuts icon, overlapping shapes

### 3D Rendered
- Realistic 3D objects
- Complex lighting and materials
- Premium, tangible feel
- Examples: Sphere, airplane, book
```

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

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

### Generate this prompt

| Model | Selected model |
|---|---|
| Estimated cost | Pricing pending |
| Endpoint | `/api/v1/runapi/text_to_image` |

[Sign in to generate](https://runapi.ai/login)

Your generated image will appear here
<!-- /prompt-detail-slot: generate-cta -->

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

## Prompt Breakdown

### Subject

Create Icons

### Atmosphere

sports / Image

### Technical

Runapi / Text To Image / /api/v1/runapi/text_to_image

### Style

abstract, app-icon, fitness, gradient, magenta, motion, runner, running

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

<!-- prompt-detail-slot: supported-models -->
## Models That Support This Prompt

| Modality | Model | Price | Try |
|---|---|---|---|
| Image | Qwen 2/qwen-2-text-to-image | $0.04 / image | [Try](https://runapi.ai/models/qwen-2/text-to-image.md) |
| Image | Qwen 3/qwen-3-pro-text-to-image | $0.04-$0.08 / image | [Try](https://runapi.ai/models/qwen-3/pro-text-to-image.md) |
| Image | Qwen 3/qwen-3-text-to-image | $0.03 / image | [Try](https://runapi.ai/models/qwen-3/text-to-image.md) |
| Image | Qwen Image/qwen-image-text-to-image | $0.03 / image | [Try](https://runapi.ai/models/qwen-image/text-to-image.md) |
| Image | Wan/wan-2.7-image | $0.03 / image | [Try](https://runapi.ai/models/wan/2.7-image.md) |

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

## RUN DETAILS

| Field | Value |
|---|---|
| Modality | Image |
| Category | sports |
| Tags | abstract, app-icon, fitness, gradient, magenta, motion, runner, running |

## Use with an agent

### Claude Code

1. claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
2. Restart Claude Code
3. Paste this prompt: Generate an image: "A premium iOS app icon for a running and fitness app, featuring 
a stylized abstract runner figure in motion, composed of flowing 
gradient ribbons in energetic coral transitioning to vibrant 
magenta. The figure suggests speed and forward momentum with 
trailing motion elements. Background is a deep navy blue with 
subtle radial gradient lighter behind the figure. Dynamic, 
energetic, aspirational. Soft lighting with subtle glow around 
figure. Rounded square format, 1024x1024px.

follow the specs below and the example icon designs attached:

These specifications define the visual language of premium, modern app icons as seen in top-tier iOS/macOS applications. The goal is to produce icons that feel polished, memorable, and worthy of a flagship product.

---

## 1. Canvas & Shape

### Base Shape
- **Format:** Square with continuous rounded corners (iOS "squircle")
- **Corner Radius:** Approximately 22-24% of icon width (mimics Apple's superellipse)
- **Aspect Ratio:** 1:1
- **Recommended Resolution:** 1024×1024px (scales down cleanly)

### Safe Zone
- Keep primary elements within the center 80% of the canvas
- Allow subtle effects (glows, shadows) to approach edges but not clip

---

## 2. Background Treatments

### Solid Backgrounds
- **Dark/Black:** Pure black (#000000) to deep charcoal (#1C1C1E) — creates drama, makes elements pop
- **Vibrant Solids:** Saturated single-color fills (electric blue #007AFF, warm orange #FF9500)
- **Gradient Backgrounds:** Subtle top-to-bottom or radial gradients adding depth

### Gradient Types (when used)
| Type | Description | Example |
|------|-------------|---------|
| Linear | Soft transition, typically lighter at top | Blue sky gradient |
| Radial | Center glow effect, darker edges | Spotlight effect |
| Angular | Sweeping color transition | Iridescent surfaces |

### Texture (Subtle)
- Fine vertical/horizontal lines for metallic or fabric feel
- Noise grain at 1-3% opacity for organic warmth
- Avoid heavy textures that compete with the main symbol

---

## 3. Color Palette

### Primary Palette Characteristics
- **High Saturation:** Colors are vivid but not neon
- **Rich Darks:** Blacks and navy blues feature prominently
- **Selective Brights:** Accent colors used sparingly for impact

### Recommended Color Families

#### Cool Spectrum
```
Navy/Deep Blue:    #0A1628, #1A2744, #2D4A7C
Electric Blue:     #007AFF, #5AC8FA, #64D2FF
Purple/Violet:     #5E5CE6, #BF5AF2, #AF52DE
Teal/Cyan:         #30D5C8, #5AC8FA, #32ADE6
```

#### Warm Spectrum
```
Orange:            #FF9500, #FF6B35, #FF3B30
Pink/Coral:        #FF6B8A, #FF2D55, #FF375F
Peach/Salmon:      #FFACA8, #FF8A80, #FFB199
```

#### Neutrals
```
True Black:        #000000
Soft Black:        #1C1C1E, #2C2C2E
White:             #FFFFFF
Off-White:         #F5F5F7, #E5E5EA
```

### Color Harmony Rules
- Limit to 2-3 dominant colors per icon
- Use complementary or analogous relationships
- One color should dominate (60%), secondary (30%), accent (10%)

---

## 4. Lighting & Depth

### Light Source
- **Position:** Top-left or directly above (consistent 45° angle)
- **Quality:** Soft, diffused — no harsh shadows
- **Creates:** Subtle highlights on upper surfaces, shadows below

### Depth Techniques

#### Highlights
- Soft white/light gradient on top edges of 3D forms
- Specular reflections as small, bright spots (not overpowering)
- Rim lighting on edges facing the light

#### Shadows
- **Drop Shadows:** Soft, diffused, 10-20% opacity, slight Y offset
- **Inner Shadows:** Very subtle, adds recessed effect
- **Contact Shadows:** Darker, tighter shadows directly beneath objects

#### Layering
- Elements should appear to float above the background
- Use atmospheric perspective (distant elements slightly hazier)
- Overlapping shapes create natural hierarchy

---

## 5. Symbol & Iconography

### Style Approaches

#### A. Dimensional/3D Objects
- Soft, rounded forms with clear volume
- Subtle gradients suggesting curvature
- Examples: Paper airplane, open book, spheres

#### B. Flat with Depth Cues
- Simplified shapes with strategic shadows/highlights
- Clean geometry with slight gradients
- Examples: Flame icon, compass dial

#### C. Abstract/Geometric
- Overlapping translucent shapes
- Interlocking forms creating visual interest
- Examples: Overlapping diamonds, triangular compositions

#### D. Glassmorphic/Translucent
- Frosted glass effect with blur
- Shapes that appear to have transparency
- Subtle refraction and color bleeding

### Symbol Characteristics
- **Simplicity:** Recognizable at 16×16px
- **Balance:** Visual weight centered or intentionally dynamic
- **Originality:** Avoid generic clip-art feeling
- **Metaphor:** Symbol clearly relates to app function

### Recommended Symbol Scale
- Primary symbol: 50-70% of icon canvas
- Leave breathing room around edges
- Optical centering (may differ from mathematical center)

---

## 6. Material & Surface Qualities

### Matte Surfaces
- Soft gradients without sharp highlights
- Subtle texture possible
- Colors appear solid and grounded

### Glossy/Reflective Surfaces
- Pronounced highlights and reflections
- Increased contrast between light and dark areas
- Suggests glass, plastic, or polished metal

### Metallic Surfaces
- Linear or radial gradients mimicking metal sheen
- Cool tones for silver/chrome, warm for gold/bronze
- Fine texture lines optional

### Glass/Translucent
- Reduced opacity (60-85%)
- Blur effect on elements behind
- Colored tint with light edges
- Subtle inner glow

### Paper/Fabric
- Soft, muted colors
- Very subtle texture
- Gentle shadows suggesting flexibility

---

## 7. Effects & Polish

### Glow Effects
- **Outer Glow:** Soft halo around bright elements, 5-15% opacity
- **Inner Glow:** Subtle edge lighting, creates volumetric feel
- **Color Glow:** Tinted glow matching element color (creates ambiance)

### Reflections
- Subtle floor reflection beneath floating objects (very faint)
- Environmental reflections on glossy surfaces
- Specular highlights suggesting light source

### Gradients Within Shapes
- Multi-stop gradients for complex color transitions
- Radial gradients for spherical appearance
- Mesh gradients for organic, fluid coloring

### Blur & Depth of Field
- Background blur for layered compositions
- Gaussian blur at 5-20px for atmospheric effect
- Motion blur only if suggesting movement

---

## 8. Composition Principles

### Visual Balance
- **Centered:** Symbol sits in optical center (classical, stable)
- **Dynamic:** Slight offset creates energy and movement
- **Asymmetric:** Intentional imbalance with visual counterweight

### Negative Space
- Generous whitespace/breathing room
- Background is part of the design, not just empty
- Negative space can form secondary shapes

### Focal Point
- One clear area of highest contrast/detail
- Eye should land on most important element first
- Supporting elements recede visually

### Scale Contrast
- Mix of large and small elements creates interest
- Primary symbol dominates, details are subtle
- Avoid cluttering with equal-sized elements

---

## 9. Style Variations

### Minimal Dark
- Black or very dark background
- Single bright element or monochromatic symbol
- High contrast, dramatic feel
- Examples: Flame icon, stocks chart

### Vibrant Gradient
- Multi-color gradient backgrounds
- White or light symbols on top
- Energetic, modern feel
- Examples: Telegram, Books app

### Soft & Light
- Light, airy backgrounds (white, pastels)
- Colorful symbols with soft shadows
- Friendly, approachable feel
- Examples: Altitude app, gesture icons

### Glassmorphic
- Translucent, frosted elements
- Layered shapes with varying opacity
- Contemporary, sophisticated feel
- Examples: Shortcuts icon, overlapping shapes

### 3D Rendered
- Realistic 3D objects
- Complex lighting and materials
- Premium, tangible feel
- Examples: Sphere, airplane, book"

### Codex

1. codex plugin install runapi-mcp@agents
2. Restart Codex
3. Paste this prompt: Generate an image: "A premium iOS app icon for a running and fitness app, featuring 
a stylized abstract runner figure in motion, composed of flowing 
gradient ribbons in energetic coral transitioning to vibrant 
magenta. The figure suggests speed and forward momentum with 
trailing motion elements. Background is a deep navy blue with 
subtle radial gradient lighter behind the figure. Dynamic, 
energetic, aspirational. Soft lighting with subtle glow around 
figure. Rounded square format, 1024x1024px.

follow the specs below and the example icon designs attached:

These specifications define the visual language of premium, modern app icons as seen in top-tier iOS/macOS applications. The goal is to produce icons that feel polished, memorable, and worthy of a flagship product.

---

## 1. Canvas & Shape

### Base Shape
- **Format:** Square with continuous rounded corners (iOS "squircle")
- **Corner Radius:** Approximately 22-24% of icon width (mimics Apple's superellipse)
- **Aspect Ratio:** 1:1
- **Recommended Resolution:** 1024×1024px (scales down cleanly)

### Safe Zone
- Keep primary elements within the center 80% of the canvas
- Allow subtle effects (glows, shadows) to approach edges but not clip

---

## 2. Background Treatments

### Solid Backgrounds
- **Dark/Black:** Pure black (#000000) to deep charcoal (#1C1C1E) — creates drama, makes elements pop
- **Vibrant Solids:** Saturated single-color fills (electric blue #007AFF, warm orange #FF9500)
- **Gradient Backgrounds:** Subtle top-to-bottom or radial gradients adding depth

### Gradient Types (when used)
| Type | Description | Example |
|------|-------------|---------|
| Linear | Soft transition, typically lighter at top | Blue sky gradient |
| Radial | Center glow effect, darker edges | Spotlight effect |
| Angular | Sweeping color transition | Iridescent surfaces |

### Texture (Subtle)
- Fine vertical/horizontal lines for metallic or fabric feel
- Noise grain at 1-3% opacity for organic warmth
- Avoid heavy textures that compete with the main symbol

---

## 3. Color Palette

### Primary Palette Characteristics
- **High Saturation:** Colors are vivid but not neon
- **Rich Darks:** Blacks and navy blues feature prominently
- **Selective Brights:** Accent colors used sparingly for impact

### Recommended Color Families

#### Cool Spectrum
```
Navy/Deep Blue:    #0A1628, #1A2744, #2D4A7C
Electric Blue:     #007AFF, #5AC8FA, #64D2FF
Purple/Violet:     #5E5CE6, #BF5AF2, #AF52DE
Teal/Cyan:         #30D5C8, #5AC8FA, #32ADE6
```

#### Warm Spectrum
```
Orange:            #FF9500, #FF6B35, #FF3B30
Pink/Coral:        #FF6B8A, #FF2D55, #FF375F
Peach/Salmon:      #FFACA8, #FF8A80, #FFB199
```

#### Neutrals
```
True Black:        #000000
Soft Black:        #1C1C1E, #2C2C2E
White:             #FFFFFF
Off-White:         #F5F5F7, #E5E5EA
```

### Color Harmony Rules
- Limit to 2-3 dominant colors per icon
- Use complementary or analogous relationships
- One color should dominate (60%), secondary (30%), accent (10%)

---

## 4. Lighting & Depth

### Light Source
- **Position:** Top-left or directly above (consistent 45° angle)
- **Quality:** Soft, diffused — no harsh shadows
- **Creates:** Subtle highlights on upper surfaces, shadows below

### Depth Techniques

#### Highlights
- Soft white/light gradient on top edges of 3D forms
- Specular reflections as small, bright spots (not overpowering)
- Rim lighting on edges facing the light

#### Shadows
- **Drop Shadows:** Soft, diffused, 10-20% opacity, slight Y offset
- **Inner Shadows:** Very subtle, adds recessed effect
- **Contact Shadows:** Darker, tighter shadows directly beneath objects

#### Layering
- Elements should appear to float above the background
- Use atmospheric perspective (distant elements slightly hazier)
- Overlapping shapes create natural hierarchy

---

## 5. Symbol & Iconography

### Style Approaches

#### A. Dimensional/3D Objects
- Soft, rounded forms with clear volume
- Subtle gradients suggesting curvature
- Examples: Paper airplane, open book, spheres

#### B. Flat with Depth Cues
- Simplified shapes with strategic shadows/highlights
- Clean geometry with slight gradients
- Examples: Flame icon, compass dial

#### C. Abstract/Geometric
- Overlapping translucent shapes
- Interlocking forms creating visual interest
- Examples: Overlapping diamonds, triangular compositions

#### D. Glassmorphic/Translucent
- Frosted glass effect with blur
- Shapes that appear to have transparency
- Subtle refraction and color bleeding

### Symbol Characteristics
- **Simplicity:** Recognizable at 16×16px
- **Balance:** Visual weight centered or intentionally dynamic
- **Originality:** Avoid generic clip-art feeling
- **Metaphor:** Symbol clearly relates to app function

### Recommended Symbol Scale
- Primary symbol: 50-70% of icon canvas
- Leave breathing room around edges
- Optical centering (may differ from mathematical center)

---

## 6. Material & Surface Qualities

### Matte Surfaces
- Soft gradients without sharp highlights
- Subtle texture possible
- Colors appear solid and grounded

### Glossy/Reflective Surfaces
- Pronounced highlights and reflections
- Increased contrast between light and dark areas
- Suggests glass, plastic, or polished metal

### Metallic Surfaces
- Linear or radial gradients mimicking metal sheen
- Cool tones for silver/chrome, warm for gold/bronze
- Fine texture lines optional

### Glass/Translucent
- Reduced opacity (60-85%)
- Blur effect on elements behind
- Colored tint with light edges
- Subtle inner glow

### Paper/Fabric
- Soft, muted colors
- Very subtle texture
- Gentle shadows suggesting flexibility

---

## 7. Effects & Polish

### Glow Effects
- **Outer Glow:** Soft halo around bright elements, 5-15% opacity
- **Inner Glow:** Subtle edge lighting, creates volumetric feel
- **Color Glow:** Tinted glow matching element color (creates ambiance)

### Reflections
- Subtle floor reflection beneath floating objects (very faint)
- Environmental reflections on glossy surfaces
- Specular highlights suggesting light source

### Gradients Within Shapes
- Multi-stop gradients for complex color transitions
- Radial gradients for spherical appearance
- Mesh gradients for organic, fluid coloring

### Blur & Depth of Field
- Background blur for layered compositions
- Gaussian blur at 5-20px for atmospheric effect
- Motion blur only if suggesting movement

---

## 8. Composition Principles

### Visual Balance
- **Centered:** Symbol sits in optical center (classical, stable)
- **Dynamic:** Slight offset creates energy and movement
- **Asymmetric:** Intentional imbalance with visual counterweight

### Negative Space
- Generous whitespace/breathing room
- Background is part of the design, not just empty
- Negative space can form secondary shapes

### Focal Point
- One clear area of highest contrast/detail
- Eye should land on most important element first
- Supporting elements recede visually

### Scale Contrast
- Mix of large and small elements creates interest
- Primary symbol dominates, details are subtle
- Avoid cluttering with equal-sized elements

---

## 9. Style Variations

### Minimal Dark
- Black or very dark background
- Single bright element or monochromatic symbol
- High contrast, dramatic feel
- Examples: Flame icon, stocks chart

### Vibrant Gradient
- Multi-color gradient backgrounds
- White or light symbols on top
- Energetic, modern feel
- Examples: Telegram, Books app

### Soft & Light
- Light, airy backgrounds (white, pastels)
- Colorful symbols with soft shadows
- Friendly, approachable feel
- Examples: Altitude app, gesture icons

### Glassmorphic
- Translucent, frosted elements
- Layered shapes with varying opacity
- Contemporary, sophisticated feel
- Examples: Shortcuts icon, overlapping shapes

### 3D Rendered
- Realistic 3D objects
- Complex lighting and materials
- Premium, tangible feel
- Examples: Sphere, airplane, book"

### Cursor

1. npx @runapi.ai/mcp init cursor
2. Restart Cursor
3. Paste this prompt: Generate an image: "A premium iOS app icon for a running and fitness app, featuring 
a stylized abstract runner figure in motion, composed of flowing 
gradient ribbons in energetic coral transitioning to vibrant 
magenta. The figure suggests speed and forward momentum with 
trailing motion elements. Background is a deep navy blue with 
subtle radial gradient lighter behind the figure. Dynamic, 
energetic, aspirational. Soft lighting with subtle glow around 
figure. Rounded square format, 1024x1024px.

follow the specs below and the example icon designs attached:

These specifications define the visual language of premium, modern app icons as seen in top-tier iOS/macOS applications. The goal is to produce icons that feel polished, memorable, and worthy of a flagship product.

---

## 1. Canvas & Shape

### Base Shape
- **Format:** Square with continuous rounded corners (iOS "squircle")
- **Corner Radius:** Approximately 22-24% of icon width (mimics Apple's superellipse)
- **Aspect Ratio:** 1:1
- **Recommended Resolution:** 1024×1024px (scales down cleanly)

### Safe Zone
- Keep primary elements within the center 80% of the canvas
- Allow subtle effects (glows, shadows) to approach edges but not clip

---

## 2. Background Treatments

### Solid Backgrounds
- **Dark/Black:** Pure black (#000000) to deep charcoal (#1C1C1E) — creates drama, makes elements pop
- **Vibrant Solids:** Saturated single-color fills (electric blue #007AFF, warm orange #FF9500)
- **Gradient Backgrounds:** Subtle top-to-bottom or radial gradients adding depth

### Gradient Types (when used)
| Type | Description | Example |
|------|-------------|---------|
| Linear | Soft transition, typically lighter at top | Blue sky gradient |
| Radial | Center glow effect, darker edges | Spotlight effect |
| Angular | Sweeping color transition | Iridescent surfaces |

### Texture (Subtle)
- Fine vertical/horizontal lines for metallic or fabric feel
- Noise grain at 1-3% opacity for organic warmth
- Avoid heavy textures that compete with the main symbol

---

## 3. Color Palette

### Primary Palette Characteristics
- **High Saturation:** Colors are vivid but not neon
- **Rich Darks:** Blacks and navy blues feature prominently
- **Selective Brights:** Accent colors used sparingly for impact

### Recommended Color Families

#### Cool Spectrum
```
Navy/Deep Blue:    #0A1628, #1A2744, #2D4A7C
Electric Blue:     #007AFF, #5AC8FA, #64D2FF
Purple/Violet:     #5E5CE6, #BF5AF2, #AF52DE
Teal/Cyan:         #30D5C8, #5AC8FA, #32ADE6
```

#### Warm Spectrum
```
Orange:            #FF9500, #FF6B35, #FF3B30
Pink/Coral:        #FF6B8A, #FF2D55, #FF375F
Peach/Salmon:      #FFACA8, #FF8A80, #FFB199
```

#### Neutrals
```
True Black:        #000000
Soft Black:        #1C1C1E, #2C2C2E
White:             #FFFFFF
Off-White:         #F5F5F7, #E5E5EA
```

### Color Harmony Rules
- Limit to 2-3 dominant colors per icon
- Use complementary or analogous relationships
- One color should dominate (60%), secondary (30%), accent (10%)

---

## 4. Lighting & Depth

### Light Source
- **Position:** Top-left or directly above (consistent 45° angle)
- **Quality:** Soft, diffused — no harsh shadows
- **Creates:** Subtle highlights on upper surfaces, shadows below

### Depth Techniques

#### Highlights
- Soft white/light gradient on top edges of 3D forms
- Specular reflections as small, bright spots (not overpowering)
- Rim lighting on edges facing the light

#### Shadows
- **Drop Shadows:** Soft, diffused, 10-20% opacity, slight Y offset
- **Inner Shadows:** Very subtle, adds recessed effect
- **Contact Shadows:** Darker, tighter shadows directly beneath objects

#### Layering
- Elements should appear to float above the background
- Use atmospheric perspective (distant elements slightly hazier)
- Overlapping shapes create natural hierarchy

---

## 5. Symbol & Iconography

### Style Approaches

#### A. Dimensional/3D Objects
- Soft, rounded forms with clear volume
- Subtle gradients suggesting curvature
- Examples: Paper airplane, open book, spheres

#### B. Flat with Depth Cues
- Simplified shapes with strategic shadows/highlights
- Clean geometry with slight gradients
- Examples: Flame icon, compass dial

#### C. Abstract/Geometric
- Overlapping translucent shapes
- Interlocking forms creating visual interest
- Examples: Overlapping diamonds, triangular compositions

#### D. Glassmorphic/Translucent
- Frosted glass effect with blur
- Shapes that appear to have transparency
- Subtle refraction and color bleeding

### Symbol Characteristics
- **Simplicity:** Recognizable at 16×16px
- **Balance:** Visual weight centered or intentionally dynamic
- **Originality:** Avoid generic clip-art feeling
- **Metaphor:** Symbol clearly relates to app function

### Recommended Symbol Scale
- Primary symbol: 50-70% of icon canvas
- Leave breathing room around edges
- Optical centering (may differ from mathematical center)

---

## 6. Material & Surface Qualities

### Matte Surfaces
- Soft gradients without sharp highlights
- Subtle texture possible
- Colors appear solid and grounded

### Glossy/Reflective Surfaces
- Pronounced highlights and reflections
- Increased contrast between light and dark areas
- Suggests glass, plastic, or polished metal

### Metallic Surfaces
- Linear or radial gradients mimicking metal sheen
- Cool tones for silver/chrome, warm for gold/bronze
- Fine texture lines optional

### Glass/Translucent
- Reduced opacity (60-85%)
- Blur effect on elements behind
- Colored tint with light edges
- Subtle inner glow

### Paper/Fabric
- Soft, muted colors
- Very subtle texture
- Gentle shadows suggesting flexibility

---

## 7. Effects & Polish

### Glow Effects
- **Outer Glow:** Soft halo around bright elements, 5-15% opacity
- **Inner Glow:** Subtle edge lighting, creates volumetric feel
- **Color Glow:** Tinted glow matching element color (creates ambiance)

### Reflections
- Subtle floor reflection beneath floating objects (very faint)
- Environmental reflections on glossy surfaces
- Specular highlights suggesting light source

### Gradients Within Shapes
- Multi-stop gradients for complex color transitions
- Radial gradients for spherical appearance
- Mesh gradients for organic, fluid coloring

### Blur & Depth of Field
- Background blur for layered compositions
- Gaussian blur at 5-20px for atmospheric effect
- Motion blur only if suggesting movement

---

## 8. Composition Principles

### Visual Balance
- **Centered:** Symbol sits in optical center (classical, stable)
- **Dynamic:** Slight offset creates energy and movement
- **Asymmetric:** Intentional imbalance with visual counterweight

### Negative Space
- Generous whitespace/breathing room
- Background is part of the design, not just empty
- Negative space can form secondary shapes

### Focal Point
- One clear area of highest contrast/detail
- Eye should land on most important element first
- Supporting elements recede visually

### Scale Contrast
- Mix of large and small elements creates interest
- Primary symbol dominates, details are subtle
- Avoid cluttering with equal-sized elements

---

## 9. Style Variations

### Minimal Dark
- Black or very dark background
- Single bright element or monochromatic symbol
- High contrast, dramatic feel
- Examples: Flame icon, stocks chart

### Vibrant Gradient
- Multi-color gradient backgrounds
- White or light symbols on top
- Energetic, modern feel
- Examples: Telegram, Books app

### Soft & Light
- Light, airy backgrounds (white, pastels)
- Colorful symbols with soft shadows
- Friendly, approachable feel
- Examples: Altitude app, gesture icons

### Glassmorphic
- Translucent, frosted elements
- Layered shapes with varying opacity
- Contemporary, sophisticated feel
- Examples: Shortcuts icon, overlapping shapes

### 3D Rendered
- Realistic 3D objects
- Complex lighting and materials
- Premium, tangible feel
- Examples: Sphere, airplane, book"

### Windsurf

1. npx @runapi.ai/mcp init windsurf
2. Restart Windsurf
3. Paste this prompt: Generate an image: "A premium iOS app icon for a running and fitness app, featuring 
a stylized abstract runner figure in motion, composed of flowing 
gradient ribbons in energetic coral transitioning to vibrant 
magenta. The figure suggests speed and forward momentum with 
trailing motion elements. Background is a deep navy blue with 
subtle radial gradient lighter behind the figure. Dynamic, 
energetic, aspirational. Soft lighting with subtle glow around 
figure. Rounded square format, 1024x1024px.

follow the specs below and the example icon designs attached:

These specifications define the visual language of premium, modern app icons as seen in top-tier iOS/macOS applications. The goal is to produce icons that feel polished, memorable, and worthy of a flagship product.

---

## 1. Canvas & Shape

### Base Shape
- **Format:** Square with continuous rounded corners (iOS "squircle")
- **Corner Radius:** Approximately 22-24% of icon width (mimics Apple's superellipse)
- **Aspect Ratio:** 1:1
- **Recommended Resolution:** 1024×1024px (scales down cleanly)

### Safe Zone
- Keep primary elements within the center 80% of the canvas
- Allow subtle effects (glows, shadows) to approach edges but not clip

---

## 2. Background Treatments

### Solid Backgrounds
- **Dark/Black:** Pure black (#000000) to deep charcoal (#1C1C1E) — creates drama, makes elements pop
- **Vibrant Solids:** Saturated single-color fills (electric blue #007AFF, warm orange #FF9500)
- **Gradient Backgrounds:** Subtle top-to-bottom or radial gradients adding depth

### Gradient Types (when used)
| Type | Description | Example |
|------|-------------|---------|
| Linear | Soft transition, typically lighter at top | Blue sky gradient |
| Radial | Center glow effect, darker edges | Spotlight effect |
| Angular | Sweeping color transition | Iridescent surfaces |

### Texture (Subtle)
- Fine vertical/horizontal lines for metallic or fabric feel
- Noise grain at 1-3% opacity for organic warmth
- Avoid heavy textures that compete with the main symbol

---

## 3. Color Palette

### Primary Palette Characteristics
- **High Saturation:** Colors are vivid but not neon
- **Rich Darks:** Blacks and navy blues feature prominently
- **Selective Brights:** Accent colors used sparingly for impact

### Recommended Color Families

#### Cool Spectrum
```
Navy/Deep Blue:    #0A1628, #1A2744, #2D4A7C
Electric Blue:     #007AFF, #5AC8FA, #64D2FF
Purple/Violet:     #5E5CE6, #BF5AF2, #AF52DE
Teal/Cyan:         #30D5C8, #5AC8FA, #32ADE6
```

#### Warm Spectrum
```
Orange:            #FF9500, #FF6B35, #FF3B30
Pink/Coral:        #FF6B8A, #FF2D55, #FF375F
Peach/Salmon:      #FFACA8, #FF8A80, #FFB199
```

#### Neutrals
```
True Black:        #000000
Soft Black:        #1C1C1E, #2C2C2E
White:             #FFFFFF
Off-White:         #F5F5F7, #E5E5EA
```

### Color Harmony Rules
- Limit to 2-3 dominant colors per icon
- Use complementary or analogous relationships
- One color should dominate (60%), secondary (30%), accent (10%)

---

## 4. Lighting & Depth

### Light Source
- **Position:** Top-left or directly above (consistent 45° angle)
- **Quality:** Soft, diffused — no harsh shadows
- **Creates:** Subtle highlights on upper surfaces, shadows below

### Depth Techniques

#### Highlights
- Soft white/light gradient on top edges of 3D forms
- Specular reflections as small, bright spots (not overpowering)
- Rim lighting on edges facing the light

#### Shadows
- **Drop Shadows:** Soft, diffused, 10-20% opacity, slight Y offset
- **Inner Shadows:** Very subtle, adds recessed effect
- **Contact Shadows:** Darker, tighter shadows directly beneath objects

#### Layering
- Elements should appear to float above the background
- Use atmospheric perspective (distant elements slightly hazier)
- Overlapping shapes create natural hierarchy

---

## 5. Symbol & Iconography

### Style Approaches

#### A. Dimensional/3D Objects
- Soft, rounded forms with clear volume
- Subtle gradients suggesting curvature
- Examples: Paper airplane, open book, spheres

#### B. Flat with Depth Cues
- Simplified shapes with strategic shadows/highlights
- Clean geometry with slight gradients
- Examples: Flame icon, compass dial

#### C. Abstract/Geometric
- Overlapping translucent shapes
- Interlocking forms creating visual interest
- Examples: Overlapping diamonds, triangular compositions

#### D. Glassmorphic/Translucent
- Frosted glass effect with blur
- Shapes that appear to have transparency
- Subtle refraction and color bleeding

### Symbol Characteristics
- **Simplicity:** Recognizable at 16×16px
- **Balance:** Visual weight centered or intentionally dynamic
- **Originality:** Avoid generic clip-art feeling
- **Metaphor:** Symbol clearly relates to app function

### Recommended Symbol Scale
- Primary symbol: 50-70% of icon canvas
- Leave breathing room around edges
- Optical centering (may differ from mathematical center)

---

## 6. Material & Surface Qualities

### Matte Surfaces
- Soft gradients without sharp highlights
- Subtle texture possible
- Colors appear solid and grounded

### Glossy/Reflective Surfaces
- Pronounced highlights and reflections
- Increased contrast between light and dark areas
- Suggests glass, plastic, or polished metal

### Metallic Surfaces
- Linear or radial gradients mimicking metal sheen
- Cool tones for silver/chrome, warm for gold/bronze
- Fine texture lines optional

### Glass/Translucent
- Reduced opacity (60-85%)
- Blur effect on elements behind
- Colored tint with light edges
- Subtle inner glow

### Paper/Fabric
- Soft, muted colors
- Very subtle texture
- Gentle shadows suggesting flexibility

---

## 7. Effects & Polish

### Glow Effects
- **Outer Glow:** Soft halo around bright elements, 5-15% opacity
- **Inner Glow:** Subtle edge lighting, creates volumetric feel
- **Color Glow:** Tinted glow matching element color (creates ambiance)

### Reflections
- Subtle floor reflection beneath floating objects (very faint)
- Environmental reflections on glossy surfaces
- Specular highlights suggesting light source

### Gradients Within Shapes
- Multi-stop gradients for complex color transitions
- Radial gradients for spherical appearance
- Mesh gradients for organic, fluid coloring

### Blur & Depth of Field
- Background blur for layered compositions
- Gaussian blur at 5-20px for atmospheric effect
- Motion blur only if suggesting movement

---

## 8. Composition Principles

### Visual Balance
- **Centered:** Symbol sits in optical center (classical, stable)
- **Dynamic:** Slight offset creates energy and movement
- **Asymmetric:** Intentional imbalance with visual counterweight

### Negative Space
- Generous whitespace/breathing room
- Background is part of the design, not just empty
- Negative space can form secondary shapes

### Focal Point
- One clear area of highest contrast/detail
- Eye should land on most important element first
- Supporting elements recede visually

### Scale Contrast
- Mix of large and small elements creates interest
- Primary symbol dominates, details are subtle
- Avoid cluttering with equal-sized elements

---

## 9. Style Variations

### Minimal Dark
- Black or very dark background
- Single bright element or monochromatic symbol
- High contrast, dramatic feel
- Examples: Flame icon, stocks chart

### Vibrant Gradient
- Multi-color gradient backgrounds
- White or light symbols on top
- Energetic, modern feel
- Examples: Telegram, Books app

### Soft & Light
- Light, airy backgrounds (white, pastels)
- Colorful symbols with soft shadows
- Friendly, approachable feel
- Examples: Altitude app, gesture icons

### Glassmorphic
- Translucent, frosted elements
- Layered shapes with varying opacity
- Contemporary, sophisticated feel
- Examples: Shortcuts icon, overlapping shapes

### 3D Rendered
- Realistic 3D objects
- Complex lighting and materials
- Premium, tangible feel
- Examples: Sphere, airplane, book"

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

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

### curl

```curl
curl -X POST https://runapi.ai/api/v1/runapi/text_to_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "prompt": "A premium iOS app icon for a running and fitness app, featuring \na stylized abstract runner figure in motion, composed of flowing \ngradient ribbons in energetic coral transitioning to vibrant \nmagenta. The figure suggests speed and forward momentum with \ntrailing motion elements. Background is a deep navy blue with \nsubtle radial gradient lighter behind the figure. Dynamic, \nenergetic, aspirational. Soft lighting with subtle glow around \nfigure. Rounded square format, 1024x1024px.\n\nfollow the specs below and the example icon designs attached:\n\nThese specifications define the visual language of premium, modern app icons as seen in top-tier iOS/macOS applications. The goal is to produce icons that feel polished, memorable, and worthy of a flagship product.\n\n---\n\n## 1. Canvas & Shape\n\n### Base Shape\n- **Format:** Square with continuous rounded corners (iOS \"squircle\")\n- **Corner Radius:** Approximately 22-24% of icon width (mimics Apple's superellipse)\n- **Aspect Ratio:** 1:1\n- **Recommended Resolution:** 1024×1024px (scales down cleanly)\n\n### Safe Zone\n- Keep primary elements within the center 80% of the canvas\n- Allow subtle effects (glows, shadows) to approach edges but not clip\n\n---\n\n## 2. Background Treatments\n\n### Solid Backgrounds\n- **Dark/Black:** Pure black (#000000) to deep charcoal (#1C1C1E) — creates drama, makes elements pop\n- **Vibrant Solids:** Saturated single-color fills (electric blue #007AFF, warm orange #FF9500)\n- **Gradient Backgrounds:** Subtle top-to-bottom or radial gradients adding depth\n\n### Gradient Types (when used)\n| Type | Description | Example |\n|------|-------------|---------|\n| Linear | Soft transition, typically lighter at top | Blue sky gradient |\n| Radial | Center glow effect, darker edges | Spotlight effect |\n| Angular | Sweeping color transition | Iridescent surfaces |\n\n### Texture (Subtle)\n- Fine vertical/horizontal lines for metallic or fabric feel\n- Noise grain at 1-3% opacity for organic warmth\n- Avoid heavy textures that compete with the main symbol\n\n---\n\n## 3. Color Palette\n\n### Primary Palette Characteristics\n- **High Saturation:** Colors are vivid but not neon\n- **Rich Darks:** Blacks and navy blues feature prominently\n- **Selective Brights:** Accent colors used sparingly for impact\n\n### Recommended Color Families\n\n#### Cool Spectrum\n```\nNavy/Deep Blue:    #0A1628, #1A2744, #2D4A7C\nElectric Blue:     #007AFF, #5AC8FA, #64D2FF\nPurple/Violet:     #5E5CE6, #BF5AF2, #AF52DE\nTeal/Cyan:         #30D5C8, #5AC8FA, #32ADE6\n```\n\n#### Warm Spectrum\n```\nOrange:            #FF9500, #FF6B35, #FF3B30\nPink/Coral:        #FF6B8A, #FF2D55, #FF375F\nPeach/Salmon:      #FFACA8, #FF8A80, #FFB199\n```\n\n#### Neutrals\n```\nTrue Black:        #000000\nSoft Black:        #1C1C1E, #2C2C2E\nWhite:             #FFFFFF\nOff-White:         #F5F5F7, #E5E5EA\n```\n\n### Color Harmony Rules\n- Limit to 2-3 dominant colors per icon\n- Use complementary or analogous relationships\n- One color should dominate (60%), secondary (30%), accent (10%)\n\n---\n\n## 4. Lighting & Depth\n\n### Light Source\n- **Position:** Top-left or directly above (consistent 45° angle)\n- **Quality:** Soft, diffused — no harsh shadows\n- **Creates:** Subtle highlights on upper surfaces, shadows below\n\n### Depth Techniques\n\n#### Highlights\n- Soft white/light gradient on top edges of 3D forms\n- Specular reflections as small, bright spots (not overpowering)\n- Rim lighting on edges facing the light\n\n#### Shadows\n- **Drop Shadows:** Soft, diffused, 10-20% opacity, slight Y offset\n- **Inner Shadows:** Very subtle, adds recessed effect\n- **Contact Shadows:** Darker, tighter shadows directly beneath objects\n\n#### Layering\n- Elements should appear to float above the background\n- Use atmospheric perspective (distant elements slightly hazier)\n- Overlapping shapes create natural hierarchy\n\n---\n\n## 5. Symbol & Iconography\n\n### Style Approaches\n\n#### A. Dimensional/3D Objects\n- Soft, rounded forms with clear volume\n- Subtle gradients suggesting curvature\n- Examples: Paper airplane, open book, spheres\n\n#### B. Flat with Depth Cues\n- Simplified shapes with strategic shadows/highlights\n- Clean geometry with slight gradients\n- Examples: Flame icon, compass dial\n\n#### C. Abstract/Geometric\n- Overlapping translucent shapes\n- Interlocking forms creating visual interest\n- Examples: Overlapping diamonds, triangular compositions\n\n#### D. Glassmorphic/Translucent\n- Frosted glass effect with blur\n- Shapes that appear to have transparency\n- Subtle refraction and color bleeding\n\n### Symbol Characteristics\n- **Simplicity:** Recognizable at 16×16px\n- **Balance:** Visual weight centered or intentionally dynamic\n- **Originality:** Avoid generic clip-art feeling\n- **Metaphor:** Symbol clearly relates to app function\n\n### Recommended Symbol Scale\n- Primary symbol: 50-70% of icon canvas\n- Leave breathing room around edges\n- Optical centering (may differ from mathematical center)\n\n---\n\n## 6. Material & Surface Qualities\n\n### Matte Surfaces\n- Soft gradients without sharp highlights\n- Subtle texture possible\n- Colors appear solid and grounded\n\n### Glossy/Reflective Surfaces\n- Pronounced highlights and reflections\n- Increased contrast between light and dark areas\n- Suggests glass, plastic, or polished metal\n\n### Metallic Surfaces\n- Linear or radial gradients mimicking metal sheen\n- Cool tones for silver/chrome, warm for gold/bronze\n- Fine texture lines optional\n\n### Glass/Translucent\n- Reduced opacity (60-85%)\n- Blur effect on elements behind\n- Colored tint with light edges\n- Subtle inner glow\n\n### Paper/Fabric\n- Soft, muted colors\n- Very subtle texture\n- Gentle shadows suggesting flexibility\n\n---\n\n## 7. Effects & Polish\n\n### Glow Effects\n- **Outer Glow:** Soft halo around bright elements, 5-15% opacity\n- **Inner Glow:** Subtle edge lighting, creates volumetric feel\n- **Color Glow:** Tinted glow matching element color (creates ambiance)\n\n### Reflections\n- Subtle floor reflection beneath floating objects (very faint)\n- Environmental reflections on glossy surfaces\n- Specular highlights suggesting light source\n\n### Gradients Within Shapes\n- Multi-stop gradients for complex color transitions\n- Radial gradients for spherical appearance\n- Mesh gradients for organic, fluid coloring\n\n### Blur & Depth of Field\n- Background blur for layered compositions\n- Gaussian blur at 5-20px for atmospheric effect\n- Motion blur only if suggesting movement\n\n---\n\n## 8. Composition Principles\n\n### Visual Balance\n- **Centered:** Symbol sits in optical center (classical, stable)\n- **Dynamic:** Slight offset creates energy and movement\n- **Asymmetric:** Intentional imbalance with visual counterweight\n\n### Negative Space\n- Generous whitespace/breathing room\n- Background is part of the design, not just empty\n- Negative space can form secondary shapes\n\n### Focal Point\n- One clear area of highest contrast/detail\n- Eye should land on most important element first\n- Supporting elements recede visually\n\n### Scale Contrast\n- Mix of large and small elements creates interest\n- Primary symbol dominates, details are subtle\n- Avoid cluttering with equal-sized elements\n\n---\n\n## 9. Style Variations\n\n### Minimal Dark\n- Black or very dark background\n- Single bright element or monochromatic symbol\n- High contrast, dramatic feel\n- Examples: Flame icon, stocks chart\n\n### Vibrant Gradient\n- Multi-color gradient backgrounds\n- White or light symbols on top\n- Energetic, modern feel\n- Examples: Telegram, Books app\n\n### Soft & Light\n- Light, airy backgrounds (white, pastels)\n- Colorful symbols with soft shadows\n- Friendly, approachable feel\n- Examples: Altitude app, gesture icons\n\n### Glassmorphic\n- Translucent, frosted elements\n- Layered shapes with varying opacity\n- Contemporary, sophisticated feel\n- Examples: Shortcuts icon, overlapping shapes\n\n### 3D Rendered\n- Realistic 3D objects\n- Complex lighting and materials\n- Premium, tangible feel\n- Examples: Sphere, airplane, book"
}
JSON
```

### Node.js

```javascript
import { RunapiClient } from "@runapi.ai/runapi";

const client = new RunapiClient({
  apiKey: process.env.RUNAPI_API_KEY,
});

const result = await client.textToImage.run({
  "prompt": "A premium iOS app icon for a running and fitness app, featuring \na stylized abstract runner figure in motion, composed of flowing \ngradient ribbons in energetic coral transitioning to vibrant \nmagenta. The figure suggests speed and forward momentum with \ntrailing motion elements. Background is a deep navy blue with \nsubtle radial gradient lighter behind the figure. Dynamic, \nenergetic, aspirational. Soft lighting with subtle glow around \nfigure. Rounded square format, 1024x1024px.\n\nfollow the specs below and the example icon designs attached:\n\nThese specifications define the visual language of premium, modern app icons as seen in top-tier iOS/macOS applications. The goal is to produce icons that feel polished, memorable, and worthy of a flagship product.\n\n---\n\n## 1. Canvas & Shape\n\n### Base Shape\n- **Format:** Square with continuous rounded corners (iOS \"squircle\")\n- **Corner Radius:** Approximately 22-24% of icon width (mimics Apple's superellipse)\n- **Aspect Ratio:** 1:1\n- **Recommended Resolution:** 1024×1024px (scales down cleanly)\n\n### Safe Zone\n- Keep primary elements within the center 80% of the canvas\n- Allow subtle effects (glows, shadows) to approach edges but not clip\n\n---\n\n## 2. Background Treatments\n\n### Solid Backgrounds\n- **Dark/Black:** Pure black (#000000) to deep charcoal (#1C1C1E) — creates drama, makes elements pop\n- **Vibrant Solids:** Saturated single-color fills (electric blue #007AFF, warm orange #FF9500)\n- **Gradient Backgrounds:** Subtle top-to-bottom or radial gradients adding depth\n\n### Gradient Types (when used)\n| Type | Description | Example |\n|------|-------------|---------|\n| Linear | Soft transition, typically lighter at top | Blue sky gradient |\n| Radial | Center glow effect, darker edges | Spotlight effect |\n| Angular | Sweeping color transition | Iridescent surfaces |\n\n### Texture (Subtle)\n- Fine vertical/horizontal lines for metallic or fabric feel\n- Noise grain at 1-3% opacity for organic warmth\n- Avoid heavy textures that compete with the main symbol\n\n---\n\n## 3. Color Palette\n\n### Primary Palette Characteristics\n- **High Saturation:** Colors are vivid but not neon\n- **Rich Darks:** Blacks and navy blues feature prominently\n- **Selective Brights:** Accent colors used sparingly for impact\n\n### Recommended Color Families\n\n#### Cool Spectrum\n```\nNavy/Deep Blue:    #0A1628, #1A2744, #2D4A7C\nElectric Blue:     #007AFF, #5AC8FA, #64D2FF\nPurple/Violet:     #5E5CE6, #BF5AF2, #AF52DE\nTeal/Cyan:         #30D5C8, #5AC8FA, #32ADE6\n```\n\n#### Warm Spectrum\n```\nOrange:            #FF9500, #FF6B35, #FF3B30\nPink/Coral:        #FF6B8A, #FF2D55, #FF375F\nPeach/Salmon:      #FFACA8, #FF8A80, #FFB199\n```\n\n#### Neutrals\n```\nTrue Black:        #000000\nSoft Black:        #1C1C1E, #2C2C2E\nWhite:             #FFFFFF\nOff-White:         #F5F5F7, #E5E5EA\n```\n\n### Color Harmony Rules\n- Limit to 2-3 dominant colors per icon\n- Use complementary or analogous relationships\n- One color should dominate (60%), secondary (30%), accent (10%)\n\n---\n\n## 4. Lighting & Depth\n\n### Light Source\n- **Position:** Top-left or directly above (consistent 45° angle)\n- **Quality:** Soft, diffused — no harsh shadows\n- **Creates:** Subtle highlights on upper surfaces, shadows below\n\n### Depth Techniques\n\n#### Highlights\n- Soft white/light gradient on top edges of 3D forms\n- Specular reflections as small, bright spots (not overpowering)\n- Rim lighting on edges facing the light\n\n#### Shadows\n- **Drop Shadows:** Soft, diffused, 10-20% opacity, slight Y offset\n- **Inner Shadows:** Very subtle, adds recessed effect\n- **Contact Shadows:** Darker, tighter shadows directly beneath objects\n\n#### Layering\n- Elements should appear to float above the background\n- Use atmospheric perspective (distant elements slightly hazier)\n- Overlapping shapes create natural hierarchy\n\n---\n\n## 5. Symbol & Iconography\n\n### Style Approaches\n\n#### A. Dimensional/3D Objects\n- Soft, rounded forms with clear volume\n- Subtle gradients suggesting curvature\n- Examples: Paper airplane, open book, spheres\n\n#### B. Flat with Depth Cues\n- Simplified shapes with strategic shadows/highlights\n- Clean geometry with slight gradients\n- Examples: Flame icon, compass dial\n\n#### C. Abstract/Geometric\n- Overlapping translucent shapes\n- Interlocking forms creating visual interest\n- Examples: Overlapping diamonds, triangular compositions\n\n#### D. Glassmorphic/Translucent\n- Frosted glass effect with blur\n- Shapes that appear to have transparency\n- Subtle refraction and color bleeding\n\n### Symbol Characteristics\n- **Simplicity:** Recognizable at 16×16px\n- **Balance:** Visual weight centered or intentionally dynamic\n- **Originality:** Avoid generic clip-art feeling\n- **Metaphor:** Symbol clearly relates to app function\n\n### Recommended Symbol Scale\n- Primary symbol: 50-70% of icon canvas\n- Leave breathing room around edges\n- Optical centering (may differ from mathematical center)\n\n---\n\n## 6. Material & Surface Qualities\n\n### Matte Surfaces\n- Soft gradients without sharp highlights\n- Subtle texture possible\n- Colors appear solid and grounded\n\n### Glossy/Reflective Surfaces\n- Pronounced highlights and reflections\n- Increased contrast between light and dark areas\n- Suggests glass, plastic, or polished metal\n\n### Metallic Surfaces\n- Linear or radial gradients mimicking metal sheen\n- Cool tones for silver/chrome, warm for gold/bronze\n- Fine texture lines optional\n\n### Glass/Translucent\n- Reduced opacity (60-85%)\n- Blur effect on elements behind\n- Colored tint with light edges\n- Subtle inner glow\n\n### Paper/Fabric\n- Soft, muted colors\n- Very subtle texture\n- Gentle shadows suggesting flexibility\n\n---\n\n## 7. Effects & Polish\n\n### Glow Effects\n- **Outer Glow:** Soft halo around bright elements, 5-15% opacity\n- **Inner Glow:** Subtle edge lighting, creates volumetric feel\n- **Color Glow:** Tinted glow matching element color (creates ambiance)\n\n### Reflections\n- Subtle floor reflection beneath floating objects (very faint)\n- Environmental reflections on glossy surfaces\n- Specular highlights suggesting light source\n\n### Gradients Within Shapes\n- Multi-stop gradients for complex color transitions\n- Radial gradients for spherical appearance\n- Mesh gradients for organic, fluid coloring\n\n### Blur & Depth of Field\n- Background blur for layered compositions\n- Gaussian blur at 5-20px for atmospheric effect\n- Motion blur only if suggesting movement\n\n---\n\n## 8. Composition Principles\n\n### Visual Balance\n- **Centered:** Symbol sits in optical center (classical, stable)\n- **Dynamic:** Slight offset creates energy and movement\n- **Asymmetric:** Intentional imbalance with visual counterweight\n\n### Negative Space\n- Generous whitespace/breathing room\n- Background is part of the design, not just empty\n- Negative space can form secondary shapes\n\n### Focal Point\n- One clear area of highest contrast/detail\n- Eye should land on most important element first\n- Supporting elements recede visually\n\n### Scale Contrast\n- Mix of large and small elements creates interest\n- Primary symbol dominates, details are subtle\n- Avoid cluttering with equal-sized elements\n\n---\n\n## 9. Style Variations\n\n### Minimal Dark\n- Black or very dark background\n- Single bright element or monochromatic symbol\n- High contrast, dramatic feel\n- Examples: Flame icon, stocks chart\n\n### Vibrant Gradient\n- Multi-color gradient backgrounds\n- White or light symbols on top\n- Energetic, modern feel\n- Examples: Telegram, Books app\n\n### Soft & Light\n- Light, airy backgrounds (white, pastels)\n- Colorful symbols with soft shadows\n- Friendly, approachable feel\n- Examples: Altitude app, gesture icons\n\n### Glassmorphic\n- Translucent, frosted elements\n- Layered shapes with varying opacity\n- Contemporary, sophisticated feel\n- Examples: Shortcuts icon, overlapping shapes\n\n### 3D Rendered\n- Realistic 3D objects\n- Complex lighting and materials\n- Premium, tangible feel\n- Examples: Sphere, airplane, book"
});
console.log(result.id);
```

### Python

```python
import json
import os
import requests

response = requests.post(
    "https://runapi.ai/api/v1/runapi/text_to_image",
    headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
    json=json.loads("{\n  \"prompt\": \"A premium iOS app icon for a running and fitness app, featuring \\na stylized abstract runner figure in motion, composed of flowing \\ngradient ribbons in energetic coral transitioning to vibrant \\nmagenta. The figure suggests speed and forward momentum with \\ntrailing motion elements. Background is a deep navy blue with \\nsubtle radial gradient lighter behind the figure. Dynamic, \\nenergetic, aspirational. Soft lighting with subtle glow around \\nfigure. Rounded square format, 1024x1024px.\\n\\nfollow the specs below and the example icon designs attached:\\n\\nThese specifications define the visual language of premium, modern app icons as seen in top-tier iOS/macOS applications. The goal is to produce icons that feel polished, memorable, and worthy of a flagship product.\\n\\n---\\n\\n## 1. Canvas \u0026 Shape\\n\\n### Base Shape\\n- **Format:** Square with continuous rounded corners (iOS \\\"squircle\\\")\\n- **Corner Radius:** Approximately 22-24% of icon width (mimics Apple's superellipse)\\n- **Aspect Ratio:** 1:1\\n- **Recommended Resolution:** 1024×1024px (scales down cleanly)\\n\\n### Safe Zone\\n- Keep primary elements within the center 80% of the canvas\\n- Allow subtle effects (glows, shadows) to approach edges but not clip\\n\\n---\\n\\n## 2. Background Treatments\\n\\n### Solid Backgrounds\\n- **Dark/Black:** Pure black (#000000) to deep charcoal (#1C1C1E) — creates drama, makes elements pop\\n- **Vibrant Solids:** Saturated single-color fills (electric blue #007AFF, warm orange #FF9500)\\n- **Gradient Backgrounds:** Subtle top-to-bottom or radial gradients adding depth\\n\\n### Gradient Types (when used)\\n| Type | Description | Example |\\n|------|-------------|---------|\\n| Linear | Soft transition, typically lighter at top | Blue sky gradient |\\n| Radial | Center glow effect, darker edges | Spotlight effect |\\n| Angular | Sweeping color transition | Iridescent surfaces |\\n\\n### Texture (Subtle)\\n- Fine vertical/horizontal lines for metallic or fabric feel\\n- Noise grain at 1-3% opacity for organic warmth\\n- Avoid heavy textures that compete with the main symbol\\n\\n---\\n\\n## 3. Color Palette\\n\\n### Primary Palette Characteristics\\n- **High Saturation:** Colors are vivid but not neon\\n- **Rich Darks:** Blacks and navy blues feature prominently\\n- **Selective Brights:** Accent colors used sparingly for impact\\n\\n### Recommended Color Families\\n\\n#### Cool Spectrum\\n```\\nNavy/Deep Blue:    #0A1628, #1A2744, #2D4A7C\\nElectric Blue:     #007AFF, #5AC8FA, #64D2FF\\nPurple/Violet:     #5E5CE6, #BF5AF2, #AF52DE\\nTeal/Cyan:         #30D5C8, #5AC8FA, #32ADE6\\n```\\n\\n#### Warm Spectrum\\n```\\nOrange:            #FF9500, #FF6B35, #FF3B30\\nPink/Coral:        #FF6B8A, #FF2D55, #FF375F\\nPeach/Salmon:      #FFACA8, #FF8A80, #FFB199\\n```\\n\\n#### Neutrals\\n```\\nTrue Black:        #000000\\nSoft Black:        #1C1C1E, #2C2C2E\\nWhite:             #FFFFFF\\nOff-White:         #F5F5F7, #E5E5EA\\n```\\n\\n### Color Harmony Rules\\n- Limit to 2-3 dominant colors per icon\\n- Use complementary or analogous relationships\\n- One color should dominate (60%), secondary (30%), accent (10%)\\n\\n---\\n\\n## 4. Lighting \u0026 Depth\\n\\n### Light Source\\n- **Position:** Top-left or directly above (consistent 45° angle)\\n- **Quality:** Soft, diffused — no harsh shadows\\n- **Creates:** Subtle highlights on upper surfaces, shadows below\\n\\n### Depth Techniques\\n\\n#### Highlights\\n- Soft white/light gradient on top edges of 3D forms\\n- Specular reflections as small, bright spots (not overpowering)\\n- Rim lighting on edges facing the light\\n\\n#### Shadows\\n- **Drop Shadows:** Soft, diffused, 10-20% opacity, slight Y offset\\n- **Inner Shadows:** Very subtle, adds recessed effect\\n- **Contact Shadows:** Darker, tighter shadows directly beneath objects\\n\\n#### Layering\\n- Elements should appear to float above the background\\n- Use atmospheric perspective (distant elements slightly hazier)\\n- Overlapping shapes create natural hierarchy\\n\\n---\\n\\n## 5. Symbol \u0026 Iconography\\n\\n### Style Approaches\\n\\n#### A. Dimensional/3D Objects\\n- Soft, rounded forms with clear volume\\n- Subtle gradients suggesting curvature\\n- Examples: Paper airplane, open book, spheres\\n\\n#### B. Flat with Depth Cues\\n- Simplified shapes with strategic shadows/highlights\\n- Clean geometry with slight gradients\\n- Examples: Flame icon, compass dial\\n\\n#### C. Abstract/Geometric\\n- Overlapping translucent shapes\\n- Interlocking forms creating visual interest\\n- Examples: Overlapping diamonds, triangular compositions\\n\\n#### D. Glassmorphic/Translucent\\n- Frosted glass effect with blur\\n- Shapes that appear to have transparency\\n- Subtle refraction and color bleeding\\n\\n### Symbol Characteristics\\n- **Simplicity:** Recognizable at 16×16px\\n- **Balance:** Visual weight centered or intentionally dynamic\\n- **Originality:** Avoid generic clip-art feeling\\n- **Metaphor:** Symbol clearly relates to app function\\n\\n### Recommended Symbol Scale\\n- Primary symbol: 50-70% of icon canvas\\n- Leave breathing room around edges\\n- Optical centering (may differ from mathematical center)\\n\\n---\\n\\n## 6. Material \u0026 Surface Qualities\\n\\n### Matte Surfaces\\n- Soft gradients without sharp highlights\\n- Subtle texture possible\\n- Colors appear solid and grounded\\n\\n### Glossy/Reflective Surfaces\\n- Pronounced highlights and reflections\\n- Increased contrast between light and dark areas\\n- Suggests glass, plastic, or polished metal\\n\\n### Metallic Surfaces\\n- Linear or radial gradients mimicking metal sheen\\n- Cool tones for silver/chrome, warm for gold/bronze\\n- Fine texture lines optional\\n\\n### Glass/Translucent\\n- Reduced opacity (60-85%)\\n- Blur effect on elements behind\\n- Colored tint with light edges\\n- Subtle inner glow\\n\\n### Paper/Fabric\\n- Soft, muted colors\\n- Very subtle texture\\n- Gentle shadows suggesting flexibility\\n\\n---\\n\\n## 7. Effects \u0026 Polish\\n\\n### Glow Effects\\n- **Outer Glow:** Soft halo around bright elements, 5-15% opacity\\n- **Inner Glow:** Subtle edge lighting, creates volumetric feel\\n- **Color Glow:** Tinted glow matching element color (creates ambiance)\\n\\n### Reflections\\n- Subtle floor reflection beneath floating objects (very faint)\\n- Environmental reflections on glossy surfaces\\n- Specular highlights suggesting light source\\n\\n### Gradients Within Shapes\\n- Multi-stop gradients for complex color transitions\\n- Radial gradients for spherical appearance\\n- Mesh gradients for organic, fluid coloring\\n\\n### Blur \u0026 Depth of Field\\n- Background blur for layered compositions\\n- Gaussian blur at 5-20px for atmospheric effect\\n- Motion blur only if suggesting movement\\n\\n---\\n\\n## 8. Composition Principles\\n\\n### Visual Balance\\n- **Centered:** Symbol sits in optical center (classical, stable)\\n- **Dynamic:** Slight offset creates energy and movement\\n- **Asymmetric:** Intentional imbalance with visual counterweight\\n\\n### Negative Space\\n- Generous whitespace/breathing room\\n- Background is part of the design, not just empty\\n- Negative space can form secondary shapes\\n\\n### Focal Point\\n- One clear area of highest contrast/detail\\n- Eye should land on most important element first\\n- Supporting elements recede visually\\n\\n### Scale Contrast\\n- Mix of large and small elements creates interest\\n- Primary symbol dominates, details are subtle\\n- Avoid cluttering with equal-sized elements\\n\\n---\\n\\n## 9. Style Variations\\n\\n### Minimal Dark\\n- Black or very dark background\\n- Single bright element or monochromatic symbol\\n- High contrast, dramatic feel\\n- Examples: Flame icon, stocks chart\\n\\n### Vibrant Gradient\\n- Multi-color gradient backgrounds\\n- White or light symbols on top\\n- Energetic, modern feel\\n- Examples: Telegram, Books app\\n\\n### Soft \u0026 Light\\n- Light, airy backgrounds (white, pastels)\\n- Colorful symbols with soft shadows\\n- Friendly, approachable feel\\n- Examples: Altitude app, gesture icons\\n\\n### Glassmorphic\\n- Translucent, frosted elements\\n- Layered shapes with varying opacity\\n- Contemporary, sophisticated feel\\n- Examples: Shortcuts icon, overlapping shapes\\n\\n### 3D Rendered\\n- Realistic 3D objects\\n- Complex lighting and materials\\n- Premium, tangible feel\\n- Examples: Sphere, airplane, book\"\n}")
)
response.raise_for_status()
print(response.json()["id"])
```

### PHP

```php
<?php

$ch = curl_init("https://runapi.ai/api/v1/runapi/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  \"prompt\": \"A premium iOS app icon for a running and fitness app, featuring \\na stylized abstract runner figure in motion, composed of flowing \\ngradient ribbons in energetic coral transitioning to vibrant \\nmagenta. The figure suggests speed and forward momentum with \\ntrailing motion elements. Background is a deep navy blue with \\nsubtle radial gradient lighter behind the figure. Dynamic, \\nenergetic, aspirational. Soft lighting with subtle glow around \\nfigure. Rounded square format, 1024x1024px.\\n\\nfollow the specs below and the example icon designs attached:\\n\\nThese specifications define the visual language of premium, modern app icons as seen in top-tier iOS/macOS applications. The goal is to produce icons that feel polished, memorable, and worthy of a flagship product.\\n\\n---\\n\\n## 1. Canvas \u0026 Shape\\n\\n### Base Shape\\n- **Format:** Square with continuous rounded corners (iOS \\\"squircle\\\")\\n- **Corner Radius:** Approximately 22-24% of icon width (mimics Apple's superellipse)\\n- **Aspect Ratio:** 1:1\\n- **Recommended Resolution:** 1024×1024px (scales down cleanly)\\n\\n### Safe Zone\\n- Keep primary elements within the center 80% of the canvas\\n- Allow subtle effects (glows, shadows) to approach edges but not clip\\n\\n---\\n\\n## 2. Background Treatments\\n\\n### Solid Backgrounds\\n- **Dark/Black:** Pure black (#000000) to deep charcoal (#1C1C1E) — creates drama, makes elements pop\\n- **Vibrant Solids:** Saturated single-color fills (electric blue #007AFF, warm orange #FF9500)\\n- **Gradient Backgrounds:** Subtle top-to-bottom or radial gradients adding depth\\n\\n### Gradient Types (when used)\\n| Type | Description | Example |\\n|------|-------------|---------|\\n| Linear | Soft transition, typically lighter at top | Blue sky gradient |\\n| Radial | Center glow effect, darker edges | Spotlight effect |\\n| Angular | Sweeping color transition | Iridescent surfaces |\\n\\n### Texture (Subtle)\\n- Fine vertical/horizontal lines for metallic or fabric feel\\n- Noise grain at 1-3% opacity for organic warmth\\n- Avoid heavy textures that compete with the main symbol\\n\\n---\\n\\n## 3. Color Palette\\n\\n### Primary Palette Characteristics\\n- **High Saturation:** Colors are vivid but not neon\\n- **Rich Darks:** Blacks and navy blues feature prominently\\n- **Selective Brights:** Accent colors used sparingly for impact\\n\\n### Recommended Color Families\\n\\n#### Cool Spectrum\\n```\\nNavy/Deep Blue:    #0A1628, #1A2744, #2D4A7C\\nElectric Blue:     #007AFF, #5AC8FA, #64D2FF\\nPurple/Violet:     #5E5CE6, #BF5AF2, #AF52DE\\nTeal/Cyan:         #30D5C8, #5AC8FA, #32ADE6\\n```\\n\\n#### Warm Spectrum\\n```\\nOrange:            #FF9500, #FF6B35, #FF3B30\\nPink/Coral:        #FF6B8A, #FF2D55, #FF375F\\nPeach/Salmon:      #FFACA8, #FF8A80, #FFB199\\n```\\n\\n#### Neutrals\\n```\\nTrue Black:        #000000\\nSoft Black:        #1C1C1E, #2C2C2E\\nWhite:             #FFFFFF\\nOff-White:         #F5F5F7, #E5E5EA\\n```\\n\\n### Color Harmony Rules\\n- Limit to 2-3 dominant colors per icon\\n- Use complementary or analogous relationships\\n- One color should dominate (60%), secondary (30%), accent (10%)\\n\\n---\\n\\n## 4. Lighting \u0026 Depth\\n\\n### Light Source\\n- **Position:** Top-left or directly above (consistent 45° angle)\\n- **Quality:** Soft, diffused — no harsh shadows\\n- **Creates:** Subtle highlights on upper surfaces, shadows below\\n\\n### Depth Techniques\\n\\n#### Highlights\\n- Soft white/light gradient on top edges of 3D forms\\n- Specular reflections as small, bright spots (not overpowering)\\n- Rim lighting on edges facing the light\\n\\n#### Shadows\\n- **Drop Shadows:** Soft, diffused, 10-20% opacity, slight Y offset\\n- **Inner Shadows:** Very subtle, adds recessed effect\\n- **Contact Shadows:** Darker, tighter shadows directly beneath objects\\n\\n#### Layering\\n- Elements should appear to float above the background\\n- Use atmospheric perspective (distant elements slightly hazier)\\n- Overlapping shapes create natural hierarchy\\n\\n---\\n\\n## 5. Symbol \u0026 Iconography\\n\\n### Style Approaches\\n\\n#### A. Dimensional/3D Objects\\n- Soft, rounded forms with clear volume\\n- Subtle gradients suggesting curvature\\n- Examples: Paper airplane, open book, spheres\\n\\n#### B. Flat with Depth Cues\\n- Simplified shapes with strategic shadows/highlights\\n- Clean geometry with slight gradients\\n- Examples: Flame icon, compass dial\\n\\n#### C. Abstract/Geometric\\n- Overlapping translucent shapes\\n- Interlocking forms creating visual interest\\n- Examples: Overlapping diamonds, triangular compositions\\n\\n#### D. Glassmorphic/Translucent\\n- Frosted glass effect with blur\\n- Shapes that appear to have transparency\\n- Subtle refraction and color bleeding\\n\\n### Symbol Characteristics\\n- **Simplicity:** Recognizable at 16×16px\\n- **Balance:** Visual weight centered or intentionally dynamic\\n- **Originality:** Avoid generic clip-art feeling\\n- **Metaphor:** Symbol clearly relates to app function\\n\\n### Recommended Symbol Scale\\n- Primary symbol: 50-70% of icon canvas\\n- Leave breathing room around edges\\n- Optical centering (may differ from mathematical center)\\n\\n---\\n\\n## 6. Material \u0026 Surface Qualities\\n\\n### Matte Surfaces\\n- Soft gradients without sharp highlights\\n- Subtle texture possible\\n- Colors appear solid and grounded\\n\\n### Glossy/Reflective Surfaces\\n- Pronounced highlights and reflections\\n- Increased contrast between light and dark areas\\n- Suggests glass, plastic, or polished metal\\n\\n### Metallic Surfaces\\n- Linear or radial gradients mimicking metal sheen\\n- Cool tones for silver/chrome, warm for gold/bronze\\n- Fine texture lines optional\\n\\n### Glass/Translucent\\n- Reduced opacity (60-85%)\\n- Blur effect on elements behind\\n- Colored tint with light edges\\n- Subtle inner glow\\n\\n### Paper/Fabric\\n- Soft, muted colors\\n- Very subtle texture\\n- Gentle shadows suggesting flexibility\\n\\n---\\n\\n## 7. Effects \u0026 Polish\\n\\n### Glow Effects\\n- **Outer Glow:** Soft halo around bright elements, 5-15% opacity\\n- **Inner Glow:** Subtle edge lighting, creates volumetric feel\\n- **Color Glow:** Tinted glow matching element color (creates ambiance)\\n\\n### Reflections\\n- Subtle floor reflection beneath floating objects (very faint)\\n- Environmental reflections on glossy surfaces\\n- Specular highlights suggesting light source\\n\\n### Gradients Within Shapes\\n- Multi-stop gradients for complex color transitions\\n- Radial gradients for spherical appearance\\n- Mesh gradients for organic, fluid coloring\\n\\n### Blur \u0026 Depth of Field\\n- Background blur for layered compositions\\n- Gaussian blur at 5-20px for atmospheric effect\\n- Motion blur only if suggesting movement\\n\\n---\\n\\n## 8. Composition Principles\\n\\n### Visual Balance\\n- **Centered:** Symbol sits in optical center (classical, stable)\\n- **Dynamic:** Slight offset creates energy and movement\\n- **Asymmetric:** Intentional imbalance with visual counterweight\\n\\n### Negative Space\\n- Generous whitespace/breathing room\\n- Background is part of the design, not just empty\\n- Negative space can form secondary shapes\\n\\n### Focal Point\\n- One clear area of highest contrast/detail\\n- Eye should land on most important element first\\n- Supporting elements recede visually\\n\\n### Scale Contrast\\n- Mix of large and small elements creates interest\\n- Primary symbol dominates, details are subtle\\n- Avoid cluttering with equal-sized elements\\n\\n---\\n\\n## 9. Style Variations\\n\\n### Minimal Dark\\n- Black or very dark background\\n- Single bright element or monochromatic symbol\\n- High contrast, dramatic feel\\n- Examples: Flame icon, stocks chart\\n\\n### Vibrant Gradient\\n- Multi-color gradient backgrounds\\n- White or light symbols on top\\n- Energetic, modern feel\\n- Examples: Telegram, Books app\\n\\n### Soft \u0026 Light\\n- Light, airy backgrounds (white, pastels)\\n- Colorful symbols with soft shadows\\n- Friendly, approachable feel\\n- Examples: Altitude app, gesture icons\\n\\n### Glassmorphic\\n- Translucent, frosted elements\\n- Layered shapes with varying opacity\\n- Contemporary, sophisticated feel\\n- Examples: Shortcuts icon, overlapping shapes\\n\\n### 3D Rendered\\n- Realistic 3D objects\\n- Complex lighting and materials\\n- Premium, tangible feel\\n- Examples: Sphere, airplane, book\"\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/runapi/text_to_image"))
    .header("Authorization", "Bearer " + System.getenv("RUNAPI_API_KEY"))
    .header("Content-Type", "application/json")
    .POST(HttpRequest.BodyPublishers.ofString("{\n  \"prompt\": \"A premium iOS app icon for a running and fitness app, featuring \\na stylized abstract runner figure in motion, composed of flowing \\ngradient ribbons in energetic coral transitioning to vibrant \\nmagenta. The figure suggests speed and forward momentum with \\ntrailing motion elements. Background is a deep navy blue with \\nsubtle radial gradient lighter behind the figure. Dynamic, \\nenergetic, aspirational. Soft lighting with subtle glow around \\nfigure. Rounded square format, 1024x1024px.\\n\\nfollow the specs below and the example icon designs attached:\\n\\nThese specifications define the visual language of premium, modern app icons as seen in top-tier iOS/macOS applications. The goal is to produce icons that feel polished, memorable, and worthy of a flagship product.\\n\\n---\\n\\n## 1. Canvas \u0026 Shape\\n\\n### Base Shape\\n- **Format:** Square with continuous rounded corners (iOS \\\"squircle\\\")\\n- **Corner Radius:** Approximately 22-24% of icon width (mimics Apple's superellipse)\\n- **Aspect Ratio:** 1:1\\n- **Recommended Resolution:** 1024×1024px (scales down cleanly)\\n\\n### Safe Zone\\n- Keep primary elements within the center 80% of the canvas\\n- Allow subtle effects (glows, shadows) to approach edges but not clip\\n\\n---\\n\\n## 2. Background Treatments\\n\\n### Solid Backgrounds\\n- **Dark/Black:** Pure black (#000000) to deep charcoal (#1C1C1E) — creates drama, makes elements pop\\n- **Vibrant Solids:** Saturated single-color fills (electric blue #007AFF, warm orange #FF9500)\\n- **Gradient Backgrounds:** Subtle top-to-bottom or radial gradients adding depth\\n\\n### Gradient Types (when used)\\n| Type | Description | Example |\\n|------|-------------|---------|\\n| Linear | Soft transition, typically lighter at top | Blue sky gradient |\\n| Radial | Center glow effect, darker edges | Spotlight effect |\\n| Angular | Sweeping color transition | Iridescent surfaces |\\n\\n### Texture (Subtle)\\n- Fine vertical/horizontal lines for metallic or fabric feel\\n- Noise grain at 1-3% opacity for organic warmth\\n- Avoid heavy textures that compete with the main symbol\\n\\n---\\n\\n## 3. Color Palette\\n\\n### Primary Palette Characteristics\\n- **High Saturation:** Colors are vivid but not neon\\n- **Rich Darks:** Blacks and navy blues feature prominently\\n- **Selective Brights:** Accent colors used sparingly for impact\\n\\n### Recommended Color Families\\n\\n#### Cool Spectrum\\n```\\nNavy/Deep Blue:    #0A1628, #1A2744, #2D4A7C\\nElectric Blue:     #007AFF, #5AC8FA, #64D2FF\\nPurple/Violet:     #5E5CE6, #BF5AF2, #AF52DE\\nTeal/Cyan:         #30D5C8, #5AC8FA, #32ADE6\\n```\\n\\n#### Warm Spectrum\\n```\\nOrange:            #FF9500, #FF6B35, #FF3B30\\nPink/Coral:        #FF6B8A, #FF2D55, #FF375F\\nPeach/Salmon:      #FFACA8, #FF8A80, #FFB199\\n```\\n\\n#### Neutrals\\n```\\nTrue Black:        #000000\\nSoft Black:        #1C1C1E, #2C2C2E\\nWhite:             #FFFFFF\\nOff-White:         #F5F5F7, #E5E5EA\\n```\\n\\n### Color Harmony Rules\\n- Limit to 2-3 dominant colors per icon\\n- Use complementary or analogous relationships\\n- One color should dominate (60%), secondary (30%), accent (10%)\\n\\n---\\n\\n## 4. Lighting \u0026 Depth\\n\\n### Light Source\\n- **Position:** Top-left or directly above (consistent 45° angle)\\n- **Quality:** Soft, diffused — no harsh shadows\\n- **Creates:** Subtle highlights on upper surfaces, shadows below\\n\\n### Depth Techniques\\n\\n#### Highlights\\n- Soft white/light gradient on top edges of 3D forms\\n- Specular reflections as small, bright spots (not overpowering)\\n- Rim lighting on edges facing the light\\n\\n#### Shadows\\n- **Drop Shadows:** Soft, diffused, 10-20% opacity, slight Y offset\\n- **Inner Shadows:** Very subtle, adds recessed effect\\n- **Contact Shadows:** Darker, tighter shadows directly beneath objects\\n\\n#### Layering\\n- Elements should appear to float above the background\\n- Use atmospheric perspective (distant elements slightly hazier)\\n- Overlapping shapes create natural hierarchy\\n\\n---\\n\\n## 5. Symbol \u0026 Iconography\\n\\n### Style Approaches\\n\\n#### A. Dimensional/3D Objects\\n- Soft, rounded forms with clear volume\\n- Subtle gradients suggesting curvature\\n- Examples: Paper airplane, open book, spheres\\n\\n#### B. Flat with Depth Cues\\n- Simplified shapes with strategic shadows/highlights\\n- Clean geometry with slight gradients\\n- Examples: Flame icon, compass dial\\n\\n#### C. Abstract/Geometric\\n- Overlapping translucent shapes\\n- Interlocking forms creating visual interest\\n- Examples: Overlapping diamonds, triangular compositions\\n\\n#### D. Glassmorphic/Translucent\\n- Frosted glass effect with blur\\n- Shapes that appear to have transparency\\n- Subtle refraction and color bleeding\\n\\n### Symbol Characteristics\\n- **Simplicity:** Recognizable at 16×16px\\n- **Balance:** Visual weight centered or intentionally dynamic\\n- **Originality:** Avoid generic clip-art feeling\\n- **Metaphor:** Symbol clearly relates to app function\\n\\n### Recommended Symbol Scale\\n- Primary symbol: 50-70% of icon canvas\\n- Leave breathing room around edges\\n- Optical centering (may differ from mathematical center)\\n\\n---\\n\\n## 6. Material \u0026 Surface Qualities\\n\\n### Matte Surfaces\\n- Soft gradients without sharp highlights\\n- Subtle texture possible\\n- Colors appear solid and grounded\\n\\n### Glossy/Reflective Surfaces\\n- Pronounced highlights and reflections\\n- Increased contrast between light and dark areas\\n- Suggests glass, plastic, or polished metal\\n\\n### Metallic Surfaces\\n- Linear or radial gradients mimicking metal sheen\\n- Cool tones for silver/chrome, warm for gold/bronze\\n- Fine texture lines optional\\n\\n### Glass/Translucent\\n- Reduced opacity (60-85%)\\n- Blur effect on elements behind\\n- Colored tint with light edges\\n- Subtle inner glow\\n\\n### Paper/Fabric\\n- Soft, muted colors\\n- Very subtle texture\\n- Gentle shadows suggesting flexibility\\n\\n---\\n\\n## 7. Effects \u0026 Polish\\n\\n### Glow Effects\\n- **Outer Glow:** Soft halo around bright elements, 5-15% opacity\\n- **Inner Glow:** Subtle edge lighting, creates volumetric feel\\n- **Color Glow:** Tinted glow matching element color (creates ambiance)\\n\\n### Reflections\\n- Subtle floor reflection beneath floating objects (very faint)\\n- Environmental reflections on glossy surfaces\\n- Specular highlights suggesting light source\\n\\n### Gradients Within Shapes\\n- Multi-stop gradients for complex color transitions\\n- Radial gradients for spherical appearance\\n- Mesh gradients for organic, fluid coloring\\n\\n### Blur \u0026 Depth of Field\\n- Background blur for layered compositions\\n- Gaussian blur at 5-20px for atmospheric effect\\n- Motion blur only if suggesting movement\\n\\n---\\n\\n## 8. Composition Principles\\n\\n### Visual Balance\\n- **Centered:** Symbol sits in optical center (classical, stable)\\n- **Dynamic:** Slight offset creates energy and movement\\n- **Asymmetric:** Intentional imbalance with visual counterweight\\n\\n### Negative Space\\n- Generous whitespace/breathing room\\n- Background is part of the design, not just empty\\n- Negative space can form secondary shapes\\n\\n### Focal Point\\n- One clear area of highest contrast/detail\\n- Eye should land on most important element first\\n- Supporting elements recede visually\\n\\n### Scale Contrast\\n- Mix of large and small elements creates interest\\n- Primary symbol dominates, details are subtle\\n- Avoid cluttering with equal-sized elements\\n\\n---\\n\\n## 9. Style Variations\\n\\n### Minimal Dark\\n- Black or very dark background\\n- Single bright element or monochromatic symbol\\n- High contrast, dramatic feel\\n- Examples: Flame icon, stocks chart\\n\\n### Vibrant Gradient\\n- Multi-color gradient backgrounds\\n- White or light symbols on top\\n- Energetic, modern feel\\n- Examples: Telegram, Books app\\n\\n### Soft \u0026 Light\\n- Light, airy backgrounds (white, pastels)\\n- Colorful symbols with soft shadows\\n- Friendly, approachable feel\\n- Examples: Altitude app, gesture icons\\n\\n### Glassmorphic\\n- Translucent, frosted elements\\n- Layered shapes with varying opacity\\n- Contemporary, sophisticated feel\\n- Examples: Shortcuts icon, overlapping shapes\\n\\n### 3D Rendered\\n- Realistic 3D objects\\n- Complex lighting and materials\\n- Premium, tangible feel\\n- Examples: Sphere, airplane, book\"\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/runapi/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  \"prompt\": \"A premium iOS app icon for a running and fitness app, featuring \\na stylized abstract runner figure in motion, composed of flowing \\ngradient ribbons in energetic coral transitioning to vibrant \\nmagenta. The figure suggests speed and forward momentum with \\ntrailing motion elements. Background is a deep navy blue with \\nsubtle radial gradient lighter behind the figure. Dynamic, \\nenergetic, aspirational. Soft lighting with subtle glow around \\nfigure. Rounded square format, 1024x1024px.\\n\\nfollow the specs below and the example icon designs attached:\\n\\nThese specifications define the visual language of premium, modern app icons as seen in top-tier iOS/macOS applications. The goal is to produce icons that feel polished, memorable, and worthy of a flagship product.\\n\\n---\\n\\n## 1. Canvas \u0026 Shape\\n\\n### Base Shape\\n- **Format:** Square with continuous rounded corners (iOS \\\"squircle\\\")\\n- **Corner Radius:** Approximately 22-24% of icon width (mimics Apple's superellipse)\\n- **Aspect Ratio:** 1:1\\n- **Recommended Resolution:** 1024×1024px (scales down cleanly)\\n\\n### Safe Zone\\n- Keep primary elements within the center 80% of the canvas\\n- Allow subtle effects (glows, shadows) to approach edges but not clip\\n\\n---\\n\\n## 2. Background Treatments\\n\\n### Solid Backgrounds\\n- **Dark/Black:** Pure black (#000000) to deep charcoal (#1C1C1E) — creates drama, makes elements pop\\n- **Vibrant Solids:** Saturated single-color fills (electric blue #007AFF, warm orange #FF9500)\\n- **Gradient Backgrounds:** Subtle top-to-bottom or radial gradients adding depth\\n\\n### Gradient Types (when used)\\n| Type | Description | Example |\\n|------|-------------|---------|\\n| Linear | Soft transition, typically lighter at top | Blue sky gradient |\\n| Radial | Center glow effect, darker edges | Spotlight effect |\\n| Angular | Sweeping color transition | Iridescent surfaces |\\n\\n### Texture (Subtle)\\n- Fine vertical/horizontal lines for metallic or fabric feel\\n- Noise grain at 1-3% opacity for organic warmth\\n- Avoid heavy textures that compete with the main symbol\\n\\n---\\n\\n## 3. Color Palette\\n\\n### Primary Palette Characteristics\\n- **High Saturation:** Colors are vivid but not neon\\n- **Rich Darks:** Blacks and navy blues feature prominently\\n- **Selective Brights:** Accent colors used sparingly for impact\\n\\n### Recommended Color Families\\n\\n#### Cool Spectrum\\n```\\nNavy/Deep Blue:    #0A1628, #1A2744, #2D4A7C\\nElectric Blue:     #007AFF, #5AC8FA, #64D2FF\\nPurple/Violet:     #5E5CE6, #BF5AF2, #AF52DE\\nTeal/Cyan:         #30D5C8, #5AC8FA, #32ADE6\\n```\\n\\n#### Warm Spectrum\\n```\\nOrange:            #FF9500, #FF6B35, #FF3B30\\nPink/Coral:        #FF6B8A, #FF2D55, #FF375F\\nPeach/Salmon:      #FFACA8, #FF8A80, #FFB199\\n```\\n\\n#### Neutrals\\n```\\nTrue Black:        #000000\\nSoft Black:        #1C1C1E, #2C2C2E\\nWhite:             #FFFFFF\\nOff-White:         #F5F5F7, #E5E5EA\\n```\\n\\n### Color Harmony Rules\\n- Limit to 2-3 dominant colors per icon\\n- Use complementary or analogous relationships\\n- One color should dominate (60%), secondary (30%), accent (10%)\\n\\n---\\n\\n## 4. Lighting \u0026 Depth\\n\\n### Light Source\\n- **Position:** Top-left or directly above (consistent 45° angle)\\n- **Quality:** Soft, diffused — no harsh shadows\\n- **Creates:** Subtle highlights on upper surfaces, shadows below\\n\\n### Depth Techniques\\n\\n#### Highlights\\n- Soft white/light gradient on top edges of 3D forms\\n- Specular reflections as small, bright spots (not overpowering)\\n- Rim lighting on edges facing the light\\n\\n#### Shadows\\n- **Drop Shadows:** Soft, diffused, 10-20% opacity, slight Y offset\\n- **Inner Shadows:** Very subtle, adds recessed effect\\n- **Contact Shadows:** Darker, tighter shadows directly beneath objects\\n\\n#### Layering\\n- Elements should appear to float above the background\\n- Use atmospheric perspective (distant elements slightly hazier)\\n- Overlapping shapes create natural hierarchy\\n\\n---\\n\\n## 5. Symbol \u0026 Iconography\\n\\n### Style Approaches\\n\\n#### A. Dimensional/3D Objects\\n- Soft, rounded forms with clear volume\\n- Subtle gradients suggesting curvature\\n- Examples: Paper airplane, open book, spheres\\n\\n#### B. Flat with Depth Cues\\n- Simplified shapes with strategic shadows/highlights\\n- Clean geometry with slight gradients\\n- Examples: Flame icon, compass dial\\n\\n#### C. Abstract/Geometric\\n- Overlapping translucent shapes\\n- Interlocking forms creating visual interest\\n- Examples: Overlapping diamonds, triangular compositions\\n\\n#### D. Glassmorphic/Translucent\\n- Frosted glass effect with blur\\n- Shapes that appear to have transparency\\n- Subtle refraction and color bleeding\\n\\n### Symbol Characteristics\\n- **Simplicity:** Recognizable at 16×16px\\n- **Balance:** Visual weight centered or intentionally dynamic\\n- **Originality:** Avoid generic clip-art feeling\\n- **Metaphor:** Symbol clearly relates to app function\\n\\n### Recommended Symbol Scale\\n- Primary symbol: 50-70% of icon canvas\\n- Leave breathing room around edges\\n- Optical centering (may differ from mathematical center)\\n\\n---\\n\\n## 6. Material \u0026 Surface Qualities\\n\\n### Matte Surfaces\\n- Soft gradients without sharp highlights\\n- Subtle texture possible\\n- Colors appear solid and grounded\\n\\n### Glossy/Reflective Surfaces\\n- Pronounced highlights and reflections\\n- Increased contrast between light and dark areas\\n- Suggests glass, plastic, or polished metal\\n\\n### Metallic Surfaces\\n- Linear or radial gradients mimicking metal sheen\\n- Cool tones for silver/chrome, warm for gold/bronze\\n- Fine texture lines optional\\n\\n### Glass/Translucent\\n- Reduced opacity (60-85%)\\n- Blur effect on elements behind\\n- Colored tint with light edges\\n- Subtle inner glow\\n\\n### Paper/Fabric\\n- Soft, muted colors\\n- Very subtle texture\\n- Gentle shadows suggesting flexibility\\n\\n---\\n\\n## 7. Effects \u0026 Polish\\n\\n### Glow Effects\\n- **Outer Glow:** Soft halo around bright elements, 5-15% opacity\\n- **Inner Glow:** Subtle edge lighting, creates volumetric feel\\n- **Color Glow:** Tinted glow matching element color (creates ambiance)\\n\\n### Reflections\\n- Subtle floor reflection beneath floating objects (very faint)\\n- Environmental reflections on glossy surfaces\\n- Specular highlights suggesting light source\\n\\n### Gradients Within Shapes\\n- Multi-stop gradients for complex color transitions\\n- Radial gradients for spherical appearance\\n- Mesh gradients for organic, fluid coloring\\n\\n### Blur \u0026 Depth of Field\\n- Background blur for layered compositions\\n- Gaussian blur at 5-20px for atmospheric effect\\n- Motion blur only if suggesting movement\\n\\n---\\n\\n## 8. Composition Principles\\n\\n### Visual Balance\\n- **Centered:** Symbol sits in optical center (classical, stable)\\n- **Dynamic:** Slight offset creates energy and movement\\n- **Asymmetric:** Intentional imbalance with visual counterweight\\n\\n### Negative Space\\n- Generous whitespace/breathing room\\n- Background is part of the design, not just empty\\n- Negative space can form secondary shapes\\n\\n### Focal Point\\n- One clear area of highest contrast/detail\\n- Eye should land on most important element first\\n- Supporting elements recede visually\\n\\n### Scale Contrast\\n- Mix of large and small elements creates interest\\n- Primary symbol dominates, details are subtle\\n- Avoid cluttering with equal-sized elements\\n\\n---\\n\\n## 9. Style Variations\\n\\n### Minimal Dark\\n- Black or very dark background\\n- Single bright element or monochromatic symbol\\n- High contrast, dramatic feel\\n- Examples: Flame icon, stocks chart\\n\\n### Vibrant Gradient\\n- Multi-color gradient backgrounds\\n- White or light symbols on top\\n- Energetic, modern feel\\n- Examples: Telegram, Books app\\n\\n### Soft \u0026 Light\\n- Light, airy backgrounds (white, pastels)\\n- Colorful symbols with soft shadows\\n- Friendly, approachable feel\\n- Examples: Altitude app, gesture icons\\n\\n### Glassmorphic\\n- Translucent, frosted elements\\n- Layered shapes with varying opacity\\n- Contemporary, sophisticated feel\\n- Examples: Shortcuts icon, overlapping shapes\\n\\n### 3D Rendered\\n- Realistic 3D objects\\n- Complex lighting and materials\\n- Premium, tangible feel\\n- Examples: Sphere, airplane, book\"\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("{\"prompt\":\"A premium iOS app icon for a running and fitness app, featuring \\na stylized abstract runner figure in motion, composed of flowing \\ngradient ribbons in energetic coral transitioning to vibrant \\nmagenta. The figure suggests speed and forward momentum with \\ntrailing motion elements. Background is a deep navy blue with \\nsubtle radial gradient lighter behind the figure. Dynamic, \\nenergetic, aspirational. Soft lighting with subtle glow around \\nfigure. Rounded square format, 1024x1024px.\\n\\nfollow the specs below and the example icon designs attached:\\n\\nThese specifications define the visual language of premium, modern app icons as seen in top-tier iOS/macOS applications. The goal is to produce icons that feel polished, memorable, and worthy of a flagship product.\\n\\n---\\n\\n## 1. Canvas & Shape\\n\\n### Base Shape\\n- **Format:** Square with continuous rounded corners (iOS \\\"squircle\\\")\\n- **Corner Radius:** Approximately 22-24% of icon width (mimics Apple's superellipse)\\n- **Aspect Ratio:** 1:1\\n- **Recommended Resolution:** 1024×1024px (scales down cleanly)\\n\\n### Safe Zone\\n- Keep primary elements within the center 80% of the canvas\\n- Allow subtle effects (glows, shadows) to approach edges but not clip\\n\\n---\\n\\n## 2. Background Treatments\\n\\n### Solid Backgrounds\\n- **Dark/Black:** Pure black (#000000) to deep charcoal (#1C1C1E) — creates drama, makes elements pop\\n- **Vibrant Solids:** Saturated single-color fills (electric blue #007AFF, warm orange #FF9500)\\n- **Gradient Backgrounds:** Subtle top-to-bottom or radial gradients adding depth\\n\\n### Gradient Types (when used)\\n| Type | Description | Example |\\n|------|-------------|---------|\\n| Linear | Soft transition, typically lighter at top | Blue sky gradient |\\n| Radial | Center glow effect, darker edges | Spotlight effect |\\n| Angular | Sweeping color transition | Iridescent surfaces |\\n\\n### Texture (Subtle)\\n- Fine vertical/horizontal lines for metallic or fabric feel\\n- Noise grain at 1-3% opacity for organic warmth\\n- Avoid heavy textures that compete with the main symbol\\n\\n---\\n\\n## 3. Color Palette\\n\\n### Primary Palette Characteristics\\n- **High Saturation:** Colors are vivid but not neon\\n- **Rich Darks:** Blacks and navy blues feature prominently\\n- **Selective Brights:** Accent colors used sparingly for impact\\n\\n### Recommended Color Families\\n\\n#### Cool Spectrum\\n```\\nNavy/Deep Blue:    #0A1628, #1A2744, #2D4A7C\\nElectric Blue:     #007AFF, #5AC8FA, #64D2FF\\nPurple/Violet:     #5E5CE6, #BF5AF2, #AF52DE\\nTeal/Cyan:         #30D5C8, #5AC8FA, #32ADE6\\n```\\n\\n#### Warm Spectrum\\n```\\nOrange:            #FF9500, #FF6B35, #FF3B30\\nPink/Coral:        #FF6B8A, #FF2D55, #FF375F\\nPeach/Salmon:      #FFACA8, #FF8A80, #FFB199\\n```\\n\\n#### Neutrals\\n```\\nTrue Black:        #000000\\nSoft Black:        #1C1C1E, #2C2C2E\\nWhite:             #FFFFFF\\nOff-White:         #F5F5F7, #E5E5EA\\n```\\n\\n### Color Harmony Rules\\n- Limit to 2-3 dominant colors per icon\\n- Use complementary or analogous relationships\\n- One color should dominate (60%), secondary (30%), accent (10%)\\n\\n---\\n\\n## 4. Lighting & Depth\\n\\n### Light Source\\n- **Position:** Top-left or directly above (consistent 45° angle)\\n- **Quality:** Soft, diffused — no harsh shadows\\n- **Creates:** Subtle highlights on upper surfaces, shadows below\\n\\n### Depth Techniques\\n\\n#### Highlights\\n- Soft white/light gradient on top edges of 3D forms\\n- Specular reflections as small, bright spots (not overpowering)\\n- Rim lighting on edges facing the light\\n\\n#### Shadows\\n- **Drop Shadows:** Soft, diffused, 10-20% opacity, slight Y offset\\n- **Inner Shadows:** Very subtle, adds recessed effect\\n- **Contact Shadows:** Darker, tighter shadows directly beneath objects\\n\\n#### Layering\\n- Elements should appear to float above the background\\n- Use atmospheric perspective (distant elements slightly hazier)\\n- Overlapping shapes create natural hierarchy\\n\\n---\\n\\n## 5. Symbol & Iconography\\n\\n### Style Approaches\\n\\n#### A. Dimensional/3D Objects\\n- Soft, rounded forms with clear volume\\n- Subtle gradients suggesting curvature\\n- Examples: Paper airplane, open book, spheres\\n\\n#### B. Flat with Depth Cues\\n- Simplified shapes with strategic shadows/highlights\\n- Clean geometry with slight gradients\\n- Examples: Flame icon, compass dial\\n\\n#### C. Abstract/Geometric\\n- Overlapping translucent shapes\\n- Interlocking forms creating visual interest\\n- Examples: Overlapping diamonds, triangular compositions\\n\\n#### D. Glassmorphic/Translucent\\n- Frosted glass effect with blur\\n- Shapes that appear to have transparency\\n- Subtle refraction and color bleeding\\n\\n### Symbol Characteristics\\n- **Simplicity:** Recognizable at 16×16px\\n- **Balance:** Visual weight centered or intentionally dynamic\\n- **Originality:** Avoid generic clip-art feeling\\n- **Metaphor:** Symbol clearly relates to app function\\n\\n### Recommended Symbol Scale\\n- Primary symbol: 50-70% of icon canvas\\n- Leave breathing room around edges\\n- Optical centering (may differ from mathematical center)\\n\\n---\\n\\n## 6. Material & Surface Qualities\\n\\n### Matte Surfaces\\n- Soft gradients without sharp highlights\\n- Subtle texture possible\\n- Colors appear solid and grounded\\n\\n### Glossy/Reflective Surfaces\\n- Pronounced highlights and reflections\\n- Increased contrast between light and dark areas\\n- Suggests glass, plastic, or polished metal\\n\\n### Metallic Surfaces\\n- Linear or radial gradients mimicking metal sheen\\n- Cool tones for silver/chrome, warm for gold/bronze\\n- Fine texture lines optional\\n\\n### Glass/Translucent\\n- Reduced opacity (60-85%)\\n- Blur effect on elements behind\\n- Colored tint with light edges\\n- Subtle inner glow\\n\\n### Paper/Fabric\\n- Soft, muted colors\\n- Very subtle texture\\n- Gentle shadows suggesting flexibility\\n\\n---\\n\\n## 7. Effects & Polish\\n\\n### Glow Effects\\n- **Outer Glow:** Soft halo around bright elements, 5-15% opacity\\n- **Inner Glow:** Subtle edge lighting, creates volumetric feel\\n- **Color Glow:** Tinted glow matching element color (creates ambiance)\\n\\n### Reflections\\n- Subtle floor reflection beneath floating objects (very faint)\\n- Environmental reflections on glossy surfaces\\n- Specular highlights suggesting light source\\n\\n### Gradients Within Shapes\\n- Multi-stop gradients for complex color transitions\\n- Radial gradients for spherical appearance\\n- Mesh gradients for organic, fluid coloring\\n\\n### Blur & Depth of Field\\n- Background blur for layered compositions\\n- Gaussian blur at 5-20px for atmospheric effect\\n- Motion blur only if suggesting movement\\n\\n---\\n\\n## 8. Composition Principles\\n\\n### Visual Balance\\n- **Centered:** Symbol sits in optical center (classical, stable)\\n- **Dynamic:** Slight offset creates energy and movement\\n- **Asymmetric:** Intentional imbalance with visual counterweight\\n\\n### Negative Space\\n- Generous whitespace/breathing room\\n- Background is part of the design, not just empty\\n- Negative space can form secondary shapes\\n\\n### Focal Point\\n- One clear area of highest contrast/detail\\n- Eye should land on most important element first\\n- Supporting elements recede visually\\n\\n### Scale Contrast\\n- Mix of large and small elements creates interest\\n- Primary symbol dominates, details are subtle\\n- Avoid cluttering with equal-sized elements\\n\\n---\\n\\n## 9. Style Variations\\n\\n### Minimal Dark\\n- Black or very dark background\\n- Single bright element or monochromatic symbol\\n- High contrast, dramatic feel\\n- Examples: Flame icon, stocks chart\\n\\n### Vibrant Gradient\\n- Multi-color gradient backgrounds\\n- White or light symbols on top\\n- Energetic, modern feel\\n- Examples: Telegram, Books app\\n\\n### Soft & Light\\n- Light, airy backgrounds (white, pastels)\\n- Colorful symbols with soft shadows\\n- Friendly, approachable feel\\n- Examples: Altitude app, gesture icons\\n\\n### Glassmorphic\\n- Translucent, frosted elements\\n- Layered shapes with varying opacity\\n- Contemporary, sophisticated feel\\n- Examples: Shortcuts icon, overlapping shapes\\n\\n### 3D Rendered\\n- Realistic 3D objects\\n- Complex lighting and materials\\n- Premium, tangible feel\\n- Examples: Sphere, airplane, book\"}")
  req, err := http.NewRequestWithContext(context.Background(), http.MethodPost, "https://runapi.ai/api/v1/runapi/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  \
    --prompt "A premium iOS app icon for a running and fitness app, featuring \na stylized abstract runner figure in motion, composed of flowing \ngradient ribbons in energetic coral transitioning to vibrant \nmagenta. The figure suggests speed and forward momentum with \ntrailing motion elements. Background is a deep navy blue with \nsubtle radial gradient lighter behind the figure. Dynamic, \nenergetic, aspirational. Soft lighting with subtle glow around \nfigure. Rounded square format, 1024x1024px.\n\nfollow the specs below and the example icon designs attached:\n\nThese specifications define the visual language of premium, modern app icons as seen in top-tier iOS/macOS applications. The goal is to produce icons that feel polished, memorable, and worthy of a flagship product.\n\n---\n\n## 1. Canvas & Shape\n\n### Base Shape\n- **Format:** Square with continuous rounded corners (iOS \"squircle\")\n- **Corner Radius:** Approximately 22-24% of icon width (mimics Apple's superellipse)\n- **Aspect Ratio:** 1:1\n- **Recommended Resolution:** 1024×1024px (scales down cleanly)\n\n### Safe Zone\n- Keep primary elements within the center 80% of the canvas\n- Allow subtle effects (glows, shadows) to approach edges but not clip\n\n---\n\n## 2. Background Treatments\n\n### Solid Backgrounds\n- **Dark/Black:** Pure black (#000000) to deep charcoal (#1C1C1E) — creates drama, makes elements pop\n- **Vibrant Solids:** Saturated single-color fills (electric blue #007AFF, warm orange #FF9500)\n- **Gradient Backgrounds:** Subtle top-to-bottom or radial gradients adding depth\n\n### Gradient Types (when used)\n| Type | Description | Example |\n|------|-------------|---------|\n| Linear | Soft transition, typically lighter at top | Blue sky gradient |\n| Radial | Center glow effect, darker edges | Spotlight effect |\n| Angular | Sweeping color transition | Iridescent surfaces |\n\n### Texture (Subtle)\n- Fine vertical/horizontal lines for metallic or fabric feel\n- Noise grain at 1-3% opacity for organic warmth\n- Avoid heavy textures that compete with the main symbol\n\n---\n\n## 3. Color Palette\n\n### Primary Palette Characteristics\n- **High Saturation:** Colors are vivid but not neon\n- **Rich Darks:** Blacks and navy blues feature prominently\n- **Selective Brights:** Accent colors used sparingly for impact\n\n### Recommended Color Families\n\n#### Cool Spectrum\n```\nNavy/Deep Blue:    #0A1628, #1A2744, #2D4A7C\nElectric Blue:     #007AFF, #5AC8FA, #64D2FF\nPurple/Violet:     #5E5CE6, #BF5AF2, #AF52DE\nTeal/Cyan:         #30D5C8, #5AC8FA, #32ADE6\n```\n\n#### Warm Spectrum\n```\nOrange:            #FF9500, #FF6B35, #FF3B30\nPink/Coral:        #FF6B8A, #FF2D55, #FF375F\nPeach/Salmon:      #FFACA8, #FF8A80, #FFB199\n```\n\n#### Neutrals\n```\nTrue Black:        #000000\nSoft Black:        #1C1C1E, #2C2C2E\nWhite:             #FFFFFF\nOff-White:         #F5F5F7, #E5E5EA\n```\n\n### Color Harmony Rules\n- Limit to 2-3 dominant colors per icon\n- Use complementary or analogous relationships\n- One color should dominate (60%), secondary (30%), accent (10%)\n\n---\n\n## 4. Lighting & Depth\n\n### Light Source\n- **Position:** Top-left or directly above (consistent 45° angle)\n- **Quality:** Soft, diffused — no harsh shadows\n- **Creates:** Subtle highlights on upper surfaces, shadows below\n\n### Depth Techniques\n\n#### Highlights\n- Soft white/light gradient on top edges of 3D forms\n- Specular reflections as small, bright spots (not overpowering)\n- Rim lighting on edges facing the light\n\n#### Shadows\n- **Drop Shadows:** Soft, diffused, 10-20% opacity, slight Y offset\n- **Inner Shadows:** Very subtle, adds recessed effect\n- **Contact Shadows:** Darker, tighter shadows directly beneath objects\n\n#### Layering\n- Elements should appear to float above the background\n- Use atmospheric perspective (distant elements slightly hazier)\n- Overlapping shapes create natural hierarchy\n\n---\n\n## 5. Symbol & Iconography\n\n### Style Approaches\n\n#### A. Dimensional/3D Objects\n- Soft, rounded forms with clear volume\n- Subtle gradients suggesting curvature\n- Examples: Paper airplane, open book, spheres\n\n#### B. Flat with Depth Cues\n- Simplified shapes with strategic shadows/highlights\n- Clean geometry with slight gradients\n- Examples: Flame icon, compass dial\n\n#### C. Abstract/Geometric\n- Overlapping translucent shapes\n- Interlocking forms creating visual interest\n- Examples: Overlapping diamonds, triangular compositions\n\n#### D. Glassmorphic/Translucent\n- Frosted glass effect with blur\n- Shapes that appear to have transparency\n- Subtle refraction and color bleeding\n\n### Symbol Characteristics\n- **Simplicity:** Recognizable at 16×16px\n- **Balance:** Visual weight centered or intentionally dynamic\n- **Originality:** Avoid generic clip-art feeling\n- **Metaphor:** Symbol clearly relates to app function\n\n### Recommended Symbol Scale\n- Primary symbol: 50-70% of icon canvas\n- Leave breathing room around edges\n- Optical centering (may differ from mathematical center)\n\n---\n\n## 6. Material & Surface Qualities\n\n### Matte Surfaces\n- Soft gradients without sharp highlights\n- Subtle texture possible\n- Colors appear solid and grounded\n\n### Glossy/Reflective Surfaces\n- Pronounced highlights and reflections\n- Increased contrast between light and dark areas\n- Suggests glass, plastic, or polished metal\n\n### Metallic Surfaces\n- Linear or radial gradients mimicking metal sheen\n- Cool tones for silver/chrome, warm for gold/bronze\n- Fine texture lines optional\n\n### Glass/Translucent\n- Reduced opacity (60-85%)\n- Blur effect on elements behind\n- Colored tint with light edges\n- Subtle inner glow\n\n### Paper/Fabric\n- Soft, muted colors\n- Very subtle texture\n- Gentle shadows suggesting flexibility\n\n---\n\n## 7. Effects & Polish\n\n### Glow Effects\n- **Outer Glow:** Soft halo around bright elements, 5-15% opacity\n- **Inner Glow:** Subtle edge lighting, creates volumetric feel\n- **Color Glow:** Tinted glow matching element color (creates ambiance)\n\n### Reflections\n- Subtle floor reflection beneath floating objects (very faint)\n- Environmental reflections on glossy surfaces\n- Specular highlights suggesting light source\n\n### Gradients Within Shapes\n- Multi-stop gradients for complex color transitions\n- Radial gradients for spherical appearance\n- Mesh gradients for organic, fluid coloring\n\n### Blur & Depth of Field\n- Background blur for layered compositions\n- Gaussian blur at 5-20px for atmospheric effect\n- Motion blur only if suggesting movement\n\n---\n\n## 8. Composition Principles\n\n### Visual Balance\n- **Centered:** Symbol sits in optical center (classical, stable)\n- **Dynamic:** Slight offset creates energy and movement\n- **Asymmetric:** Intentional imbalance with visual counterweight\n\n### Negative Space\n- Generous whitespace/breathing room\n- Background is part of the design, not just empty\n- Negative space can form secondary shapes\n\n### Focal Point\n- One clear area of highest contrast/detail\n- Eye should land on most important element first\n- Supporting elements recede visually\n\n### Scale Contrast\n- Mix of large and small elements creates interest\n- Primary symbol dominates, details are subtle\n- Avoid cluttering with equal-sized elements\n\n---\n\n## 9. Style Variations\n\n### Minimal Dark\n- Black or very dark background\n- Single bright element or monochromatic symbol\n- High contrast, dramatic feel\n- Examples: Flame icon, stocks chart\n\n### Vibrant Gradient\n- Multi-color gradient backgrounds\n- White or light symbols on top\n- Energetic, modern feel\n- Examples: Telegram, Books app\n\n### Soft & Light\n- Light, airy backgrounds (white, pastels)\n- Colorful symbols with soft shadows\n- Friendly, approachable feel\n- Examples: Altitude app, gesture icons\n\n### Glassmorphic\n- Translucent, frosted elements\n- Layered shapes with varying opacity\n- Contemporary, sophisticated feel\n- Examples: Shortcuts icon, overlapping shapes\n\n### 3D Rendered\n- Realistic 3D objects\n- Complex lighting and materials\n- Premium, tangible feel\n- Examples: Sphere, airplane, book" \
    --wait
```

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

## More prompts like this

- [Halloween T-Shirt Design for a NYC Boxing Gym](https://runapi.ai/prompts/prm_vxONpLV7DlBqupQ24zd1mWMb.md)
- [Lucian Freud Style Sports Portrait](https://runapi.ai/prompts/prm_5gj3EqLbDKk1swB2DXRrVGa9.md) — `gpt-image-2`
- [Realistic Sports Storyboard Layout](https://runapi.ai/prompts/prm_rXA3eKxQ896gu7Wa4gO7NRao.md) — `gpt-image-2`

## Prompt questions

### Can I modify this prompt?

Yes. Use it as a starting point and adjust parameters, add details, or combine it with your own ideas.

### Which model should I choose?

Each model has different strengths. Compare the available models and choose the one that best matches the output you need.

### How much does it cost?

Pricing varies by model. See the estimated cost above the Generate button.

## Building with a team?

We're here to help with enterprise setup, integrations, and technical questions.

[Contact Us](https://runapi.ai/contact.md)


---

## More from RunAPI

- [Home](https://runapi.ai/.md)
### Product
- [Model Catalog](https://runapi.ai/models.md)
- [Pricing](https://runapi.ai/pricing.md)
- [Providers](https://runapi.ai/models#all-models)
- [Prompt Gallery](https://runapi.ai/prompts.md)
### Developers
- [Documentation](https://runapi.ai/docs/guides)
- [SDKs](https://runapi.ai/sdk.md)
- [CLI](https://runapi.ai/cli.md)
- [MCP Server](https://runapi.ai/mcp.md)
- [x402](https://runapi.ai/x402.md)
### Guides
- [Claude Code vs Cursor](https://runapi.ai/claude-code-vs-cursor.md)
- [Cursor API Setup](https://runapi.ai/cursor-api-setup.md)
- [RunAPI vs OpenRouter](https://runapi.ai/openrouter-alternative.md)
### Company
- [Enterprise](https://runapi.ai/contact.md)
- [Contact](https://runapi.ai/contact.md)
### Legal
- [Terms](https://runapi.ai/terms.md)
- [Privacy](https://runapi.ai/privacy.md)
- [Site index for agents](https://runapi.ai/llms.txt)

Contact: contact@runapi.ai

## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/icon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://runapi.ai/"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Prompts",
        "item": "https://runapi.ai/prompts"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Image",
        "item": "https://runapi.ai/prompts/image"
      },
      {
        "@type": "ListItem",
        "position": 4,
        "name": "Create Icons",
        "item": "https://runapi.ai/prompts/prm_wOnNkr0dDOkmsKJpDVvA9Ex3"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@type": "Question",
        "name": "Can I modify this prompt?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Yes. Use it as a starting point and adjust parameters, add details, or combine it with your own ideas."
        }
      },
      {
        "@type": "Question",
        "name": "Which model should I choose?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Each model has different strengths. Compare the available models and choose the one that best matches the output you need."
        }
      },
      {
        "@type": "Question",
        "name": "How much does it cost?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Pricing varies by model. See the estimated cost above the Generate button."
        }
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "CreativeWork",
    "name": "Create Icons",
    "text": "A premium iOS app icon for a running and fitness app, featuring \na stylized abstract runner figure in motion, composed of flowing \ngradient ribbons in energetic coral transitioning to vibrant \nmagenta. The figure suggests speed and forward momentum with \ntrailing motion elements. Background is a deep navy blue with \nsubtle radial gradient lighter behind the figure. Dynamic, \nenergetic, aspirational. Soft lighting with subtle glow around \nfigure. Rounded square format, 1024x1024px.\n\nfollow the specs below and the example icon designs attached:\n\nThese specifications define the visual language of premium, modern app icons as seen in top-tier iOS/macOS applications. The goal is to produce icons that feel polished, memorable, and worthy of a flagship product.\n\n---\n\n## 1. Canvas & Shape\n\n### Base Shape\n- **Format:** Square with continuous rounded corners (iOS \"squircle\")\n- **Corner Radius:** Approximately 22-24% of icon width (mimics Apple's superellipse)\n- **Aspect Ratio:** 1:1\n- **Recommended Resolution:** 1024×1024px (scales down cleanly)\n\n### Safe Zone\n- Keep primary elements within the center 80% of the canvas\n- Allow subtle effects (glows, shadows) to approach edges but not clip\n\n---\n\n## 2. Background Treatments\n\n### Solid Backgrounds\n- **Dark/Black:** Pure black (#000000) to deep charcoal (#1C1C1E) — creates drama, makes elements pop\n- **Vibrant Solids:** Saturated single-color fills (electric blue #007AFF, warm orange #FF9500)\n- **Gradient Backgrounds:** Subtle top-to-bottom or radial gradients adding depth\n\n### Gradient Types (when used)\n| Type | Description | Example |\n|------|-------------|---------|\n| Linear | Soft transition, typically lighter at top | Blue sky gradient |\n| Radial | Center glow effect, darker edges | Spotlight effect |\n| Angular | Sweeping color transition | Iridescent surfaces |\n\n### Texture (Subtle)\n- Fine vertical/horizontal lines for metallic or fabric feel\n- Noise grain at 1-3% opacity for organic warmth\n- Avoid heavy textures that compete with the main symbol\n\n---\n\n## 3. Color Palette\n\n### Primary Palette Characteristics\n- **High Saturation:** Colors are vivid but not neon\n- **Rich Darks:** Blacks and navy blues feature prominently\n- **Selective Brights:** Accent colors used sparingly for impact\n\n### Recommended Color Families\n\n#### Cool Spectrum\n```\nNavy/Deep Blue:    #0A1628, #1A2744, #2D4A7C\nElectric Blue:     #007AFF, #5AC8FA, #64D2FF\nPurple/Violet:     #5E5CE6, #BF5AF2, #AF52DE\nTeal/Cyan:         #30D5C8, #5AC8FA, #32ADE6\n```\n\n#### Warm Spectrum\n```\nOrange:            #FF9500, #FF6B35, #FF3B30\nPink/Coral:        #FF6B8A, #FF2D55, #FF375F\nPeach/Salmon:      #FFACA8, #FF8A80, #FFB199\n```\n\n#### Neutrals\n```\nTrue Black:        #000000\nSoft Black:        #1C1C1E, #2C2C2E\nWhite:             #FFFFFF\nOff-White:         #F5F5F7, #E5E5EA\n```\n\n### Color Harmony Rules\n- Limit to 2-3 dominant colors per icon\n- Use complementary or analogous relationships\n- One color should dominate (60%), secondary (30%), accent (10%)\n\n---\n\n## 4. Lighting & Depth\n\n### Light Source\n- **Position:** Top-left or directly above (consistent 45° angle)\n- **Quality:** Soft, diffused — no harsh shadows\n- **Creates:** Subtle highlights on upper surfaces, shadows below\n\n### Depth Techniques\n\n#### Highlights\n- Soft white/light gradient on top edges of 3D forms\n- Specular reflections as small, bright spots (not overpowering)\n- Rim lighting on edges facing the light\n\n#### Shadows\n- **Drop Shadows:** Soft, diffused, 10-20% opacity, slight Y offset\n- **Inner Shadows:** Very subtle, adds recessed effect\n- **Contact Shadows:** Darker, tighter shadows directly beneath objects\n\n#### Layering\n- Elements should appear to float above the background\n- Use atmospheric perspective (distant elements slightly hazier)\n- Overlapping shapes create natural hierarchy\n\n---\n\n## 5. Symbol & Iconography\n\n### Style Approaches\n\n#### A. Dimensional/3D Objects\n- Soft, rounded forms with clear volume\n- Subtle gradients suggesting curvature\n- Examples: Paper airplane, open book, spheres\n\n#### B. Flat with Depth Cues\n- Simplified shapes with strategic shadows/highlights\n- Clean geometry with slight gradients\n- Examples: Flame icon, compass dial\n\n#### C. Abstract/Geometric\n- Overlapping translucent shapes\n- Interlocking forms creating visual interest\n- Examples: Overlapping diamonds, triangular compositions\n\n#### D. Glassmorphic/Translucent\n- Frosted glass effect with blur\n- Shapes that appear to have transparency\n- Subtle refraction and color bleeding\n\n### Symbol Characteristics\n- **Simplicity:** Recognizable at 16×16px\n- **Balance:** Visual weight centered or intentionally dynamic\n- **Originality:** Avoid generic clip-art feeling\n- **Metaphor:** Symbol clearly relates to app function\n\n### Recommended Symbol Scale\n- Primary symbol: 50-70% of icon canvas\n- Leave breathing room around edges\n- Optical centering (may differ from mathematical center)\n\n---\n\n## 6. Material & Surface Qualities\n\n### Matte Surfaces\n- Soft gradients without sharp highlights\n- Subtle texture possible\n- Colors appear solid and grounded\n\n### Glossy/Reflective Surfaces\n- Pronounced highlights and reflections\n- Increased contrast between light and dark areas\n- Suggests glass, plastic, or polished metal\n\n### Metallic Surfaces\n- Linear or radial gradients mimicking metal sheen\n- Cool tones for silver/chrome, warm for gold/bronze\n- Fine texture lines optional\n\n### Glass/Translucent\n- Reduced opacity (60-85%)\n- Blur effect on elements behind\n- Colored tint with light edges\n- Subtle inner glow\n\n### Paper/Fabric\n- Soft, muted colors\n- Very subtle texture\n- Gentle shadows suggesting flexibility\n\n---\n\n## 7. Effects & Polish\n\n### Glow Effects\n- **Outer Glow:** Soft halo around bright elements, 5-15% opacity\n- **Inner Glow:** Subtle edge lighting, creates volumetric feel\n- **Color Glow:** Tinted glow matching element color (creates ambiance)\n\n### Reflections\n- Subtle floor reflection beneath floating objects (very faint)\n- Environmental reflections on glossy surfaces\n- Specular highlights suggesting light source\n\n### Gradients Within Shapes\n- Multi-stop gradients for complex color transitions\n- Radial gradients for spherical appearance\n- Mesh gradients for organic, fluid coloring\n\n### Blur & Depth of Field\n- Background blur for layered compositions\n- Gaussian blur at 5-20px for atmospheric effect\n- Motion blur only if suggesting movement\n\n---\n\n## 8. Composition Principles\n\n### Visual Balance\n- **Centered:** Symbol sits in optical center (classical, stable)\n- **Dynamic:** Slight offset creates energy and movement\n- **Asymmetric:** Intentional imbalance with visual counterweight\n\n### Negative Space\n- Generous whitespace/breathing room\n- Background is part of the design, not just empty\n- Negative space can form secondary shapes\n\n### Focal Point\n- One clear area of highest contrast/detail\n- Eye should land on most important element first\n- Supporting elements recede visually\n\n### Scale Contrast\n- Mix of large and small elements creates interest\n- Primary symbol dominates, details are subtle\n- Avoid cluttering with equal-sized elements\n\n---\n\n## 9. Style Variations\n\n### Minimal Dark\n- Black or very dark background\n- Single bright element or monochromatic symbol\n- High contrast, dramatic feel\n- Examples: Flame icon, stocks chart\n\n### Vibrant Gradient\n- Multi-color gradient backgrounds\n- White or light symbols on top\n- Energetic, modern feel\n- Examples: Telegram, Books app\n\n### Soft & Light\n- Light, airy backgrounds (white, pastels)\n- Colorful symbols with soft shadows\n- Friendly, approachable feel\n- Examples: Altitude app, gesture icons\n\n### Glassmorphic\n- Translucent, frosted elements\n- Layered shapes with varying opacity\n- Contemporary, sophisticated feel\n- Examples: Shortcuts icon, overlapping shapes\n\n### 3D Rendered\n- Realistic 3D objects\n- Complex lighting and materials\n- Premium, tangible feel\n- Examples: Sphere, airplane, book",
    "image": null,
    "about": [
      "image",
      "sports"
    ]
  }
]
```
