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

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


# Transform the provided clothing product image.

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

**Prompts** · Image

## Prompt

```text
{
  "model": "nano-banana",
  "task": "image_to_image_product_transformation",

  "objective": "Transform the provided clothing product image into a luxury studio ghost-mannequin presentation where the garment appears naturally worn and volumetric, as if inflated with air on an invisible mannequin. Preserve the exact identity of the original product with zero alterations.",

  "input_description": {
    "source_image_type": "flat lay clothing product photo",
    "background": "white background",
    "product_category": "general clothing (t-shirts, jackets, hoodies, pants, denim, vests, etc)"
  },

  "transformation_rules": {
    "garment_structure": "inflate the garment as if worn by an invisible mannequin, creating natural body volume and shape while keeping the interior empty",
    "mannequin_style": "luxury ghost mannequin used in high-end fashion e-commerce photography",
    "fabric_condition": "perfectly ironed fabric with subtle natural folds that reflect realistic garment tension",
    "pose": "natural wearable garment shape as if placed on a torso or body form, but with no visible mannequin or human presence",
    "center_alignment": "the garment must remain perfectly centered in the frame",
    "framing": "clean product catalog composition with balanced margins on all sides",
    "background": "pure white professional studio background (#FFFFFF) with no gradients, textures, props, or shadows except a very soft natural grounding shadow"
  },

  "lighting": {
    "style": "high-end fashion e-commerce studio lighting",
    "direction": "soft frontal lighting with balanced fill light",
    "goal": "highlight fabric texture, stitching, seams, and garment structure",
    "shadow_control": "minimal soft shadow directly beneath garment for realism",
    "exposure": "clean bright exposure without overblown highlights or crushed shadows"
  },

  "identity_preservation": {
    "color": "preserve the exact original color values",
    "texture": "preserve the exact fabric texture and weave",
    "logos": "preserve existing logos exactly if present",
    "stitching": "preserve stitching patterns exactly",
    "details": "preserve pockets, buttons, zippers, seams, embroidery, tags, and all construction details exactly"
  },

  "strict_prohibitions": [
    "do not add new logos",
    "do not remove existing logos",
    "do not change garment color",
    "do not alter stitching",
    "do not modify pockets",
    "do not modify garment design",
    "do not invent new fabric textures",
    "do not change garment proportions",
    "do not add accessories",
    "do not add a human model",
    "do not add a mannequin",
    "do not add props or scenery",
    "do not crop the garment"
  ],

  "fabric_realism": {
    "structure": "realistic garment volume based on clothing physics",
    "folds": "subtle natural folds caused by gravity and body form",
    "tension": "light tension around chest, shoulders, waist, or hips depending on garment type",
    "fabric_behavior": "respect real textile behavior such as denim stiffness, cotton softness, or knit flexibility"
  },

  "composition_requirements": {
    "camera_angle": "straight-on front-facing catalog angle",
    "symmetry": "balanced and professional e-commerce alignment",
    "product_visibility": "entire garment fully visible without cropping",
    "catalog_standard": "consistent framing suitable for automated product galleries"
  },

  "quality_requirements": {
    "style": "luxury fashion e-commerce photography",
    "sharpness": "high-detail crisp garment texture",
    "resolution": "high resolution suitable for product zoom",
    "cleanliness": "no dust, wrinkles, artifacts, distortions, or AI hallucinations"
  },

  "pipeline_goal": {
    "use_case": "360-degree product rotation pipeline",
    "consistency_requirement": "garment structure, lighting, and proportions must remain stable and repeatable across multiple angles",
    "output_type": "professional e-commerce catalog image"
  }
}
```

<!-- 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

Transform the provided clothing product image.

### Atmosphere

fashion / Image

### Technical

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

### Style

e-commerce, fabric-texture, fashion, ghost-mannequin, product-catalog, studio-lighting

<!-- /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 | fashion |
| Tags | e-commerce, fabric-texture, fashion, ghost-mannequin, product-catalog, studio-lighting |

## 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: "{
  "model": "nano-banana",
  "task": "image_to_image_product_transformation",

  "objective": "Transform the provided clothing product image into a luxury studio ghost-mannequin presentation where the garment appears naturally worn and volumetric, as if inflated with air on an invisible mannequin. Preserve the exact identity of the original product with zero alterations.",

  "input_description": {
    "source_image_type": "flat lay clothing product photo",
    "background": "white background",
    "product_category": "general clothing (t-shirts, jackets, hoodies, pants, denim, vests, etc)"
  },

  "transformation_rules": {
    "garment_structure": "inflate the garment as if worn by an invisible mannequin, creating natural body volume and shape while keeping the interior empty",
    "mannequin_style": "luxury ghost mannequin used in high-end fashion e-commerce photography",
    "fabric_condition": "perfectly ironed fabric with subtle natural folds that reflect realistic garment tension",
    "pose": "natural wearable garment shape as if placed on a torso or body form, but with no visible mannequin or human presence",
    "center_alignment": "the garment must remain perfectly centered in the frame",
    "framing": "clean product catalog composition with balanced margins on all sides",
    "background": "pure white professional studio background (#FFFFFF) with no gradients, textures, props, or shadows except a very soft natural grounding shadow"
  },

  "lighting": {
    "style": "high-end fashion e-commerce studio lighting",
    "direction": "soft frontal lighting with balanced fill light",
    "goal": "highlight fabric texture, stitching, seams, and garment structure",
    "shadow_control": "minimal soft shadow directly beneath garment for realism",
    "exposure": "clean bright exposure without overblown highlights or crushed shadows"
  },

  "identity_preservation": {
    "color": "preserve the exact original color values",
    "texture": "preserve the exact fabric texture and weave",
    "logos": "preserve existing logos exactly if present",
    "stitching": "preserve stitching patterns exactly",
    "details": "preserve pockets, buttons, zippers, seams, embroidery, tags, and all construction details exactly"
  },

  "strict_prohibitions": [
    "do not add new logos",
    "do not remove existing logos",
    "do not change garment color",
    "do not alter stitching",
    "do not modify pockets",
    "do not modify garment design",
    "do not invent new fabric textures",
    "do not change garment proportions",
    "do not add accessories",
    "do not add a human model",
    "do not add a mannequin",
    "do not add props or scenery",
    "do not crop the garment"
  ],

  "fabric_realism": {
    "structure": "realistic garment volume based on clothing physics",
    "folds": "subtle natural folds caused by gravity and body form",
    "tension": "light tension around chest, shoulders, waist, or hips depending on garment type",
    "fabric_behavior": "respect real textile behavior such as denim stiffness, cotton softness, or knit flexibility"
  },

  "composition_requirements": {
    "camera_angle": "straight-on front-facing catalog angle",
    "symmetry": "balanced and professional e-commerce alignment",
    "product_visibility": "entire garment fully visible without cropping",
    "catalog_standard": "consistent framing suitable for automated product galleries"
  },

  "quality_requirements": {
    "style": "luxury fashion e-commerce photography",
    "sharpness": "high-detail crisp garment texture",
    "resolution": "high resolution suitable for product zoom",
    "cleanliness": "no dust, wrinkles, artifacts, distortions, or AI hallucinations"
  },

  "pipeline_goal": {
    "use_case": "360-degree product rotation pipeline",
    "consistency_requirement": "garment structure, lighting, and proportions must remain stable and repeatable across multiple angles",
    "output_type": "professional e-commerce catalog image"
  }
}"

### Codex

1. codex plugin install runapi-mcp@agents
2. Restart Codex
3. Paste this prompt: Generate an image: "{
  "model": "nano-banana",
  "task": "image_to_image_product_transformation",

  "objective": "Transform the provided clothing product image into a luxury studio ghost-mannequin presentation where the garment appears naturally worn and volumetric, as if inflated with air on an invisible mannequin. Preserve the exact identity of the original product with zero alterations.",

  "input_description": {
    "source_image_type": "flat lay clothing product photo",
    "background": "white background",
    "product_category": "general clothing (t-shirts, jackets, hoodies, pants, denim, vests, etc)"
  },

  "transformation_rules": {
    "garment_structure": "inflate the garment as if worn by an invisible mannequin, creating natural body volume and shape while keeping the interior empty",
    "mannequin_style": "luxury ghost mannequin used in high-end fashion e-commerce photography",
    "fabric_condition": "perfectly ironed fabric with subtle natural folds that reflect realistic garment tension",
    "pose": "natural wearable garment shape as if placed on a torso or body form, but with no visible mannequin or human presence",
    "center_alignment": "the garment must remain perfectly centered in the frame",
    "framing": "clean product catalog composition with balanced margins on all sides",
    "background": "pure white professional studio background (#FFFFFF) with no gradients, textures, props, or shadows except a very soft natural grounding shadow"
  },

  "lighting": {
    "style": "high-end fashion e-commerce studio lighting",
    "direction": "soft frontal lighting with balanced fill light",
    "goal": "highlight fabric texture, stitching, seams, and garment structure",
    "shadow_control": "minimal soft shadow directly beneath garment for realism",
    "exposure": "clean bright exposure without overblown highlights or crushed shadows"
  },

  "identity_preservation": {
    "color": "preserve the exact original color values",
    "texture": "preserve the exact fabric texture and weave",
    "logos": "preserve existing logos exactly if present",
    "stitching": "preserve stitching patterns exactly",
    "details": "preserve pockets, buttons, zippers, seams, embroidery, tags, and all construction details exactly"
  },

  "strict_prohibitions": [
    "do not add new logos",
    "do not remove existing logos",
    "do not change garment color",
    "do not alter stitching",
    "do not modify pockets",
    "do not modify garment design",
    "do not invent new fabric textures",
    "do not change garment proportions",
    "do not add accessories",
    "do not add a human model",
    "do not add a mannequin",
    "do not add props or scenery",
    "do not crop the garment"
  ],

  "fabric_realism": {
    "structure": "realistic garment volume based on clothing physics",
    "folds": "subtle natural folds caused by gravity and body form",
    "tension": "light tension around chest, shoulders, waist, or hips depending on garment type",
    "fabric_behavior": "respect real textile behavior such as denim stiffness, cotton softness, or knit flexibility"
  },

  "composition_requirements": {
    "camera_angle": "straight-on front-facing catalog angle",
    "symmetry": "balanced and professional e-commerce alignment",
    "product_visibility": "entire garment fully visible without cropping",
    "catalog_standard": "consistent framing suitable for automated product galleries"
  },

  "quality_requirements": {
    "style": "luxury fashion e-commerce photography",
    "sharpness": "high-detail crisp garment texture",
    "resolution": "high resolution suitable for product zoom",
    "cleanliness": "no dust, wrinkles, artifacts, distortions, or AI hallucinations"
  },

  "pipeline_goal": {
    "use_case": "360-degree product rotation pipeline",
    "consistency_requirement": "garment structure, lighting, and proportions must remain stable and repeatable across multiple angles",
    "output_type": "professional e-commerce catalog image"
  }
}"

### Cursor

1. npx @runapi.ai/mcp init cursor
2. Restart Cursor
3. Paste this prompt: Generate an image: "{
  "model": "nano-banana",
  "task": "image_to_image_product_transformation",

  "objective": "Transform the provided clothing product image into a luxury studio ghost-mannequin presentation where the garment appears naturally worn and volumetric, as if inflated with air on an invisible mannequin. Preserve the exact identity of the original product with zero alterations.",

  "input_description": {
    "source_image_type": "flat lay clothing product photo",
    "background": "white background",
    "product_category": "general clothing (t-shirts, jackets, hoodies, pants, denim, vests, etc)"
  },

  "transformation_rules": {
    "garment_structure": "inflate the garment as if worn by an invisible mannequin, creating natural body volume and shape while keeping the interior empty",
    "mannequin_style": "luxury ghost mannequin used in high-end fashion e-commerce photography",
    "fabric_condition": "perfectly ironed fabric with subtle natural folds that reflect realistic garment tension",
    "pose": "natural wearable garment shape as if placed on a torso or body form, but with no visible mannequin or human presence",
    "center_alignment": "the garment must remain perfectly centered in the frame",
    "framing": "clean product catalog composition with balanced margins on all sides",
    "background": "pure white professional studio background (#FFFFFF) with no gradients, textures, props, or shadows except a very soft natural grounding shadow"
  },

  "lighting": {
    "style": "high-end fashion e-commerce studio lighting",
    "direction": "soft frontal lighting with balanced fill light",
    "goal": "highlight fabric texture, stitching, seams, and garment structure",
    "shadow_control": "minimal soft shadow directly beneath garment for realism",
    "exposure": "clean bright exposure without overblown highlights or crushed shadows"
  },

  "identity_preservation": {
    "color": "preserve the exact original color values",
    "texture": "preserve the exact fabric texture and weave",
    "logos": "preserve existing logos exactly if present",
    "stitching": "preserve stitching patterns exactly",
    "details": "preserve pockets, buttons, zippers, seams, embroidery, tags, and all construction details exactly"
  },

  "strict_prohibitions": [
    "do not add new logos",
    "do not remove existing logos",
    "do not change garment color",
    "do not alter stitching",
    "do not modify pockets",
    "do not modify garment design",
    "do not invent new fabric textures",
    "do not change garment proportions",
    "do not add accessories",
    "do not add a human model",
    "do not add a mannequin",
    "do not add props or scenery",
    "do not crop the garment"
  ],

  "fabric_realism": {
    "structure": "realistic garment volume based on clothing physics",
    "folds": "subtle natural folds caused by gravity and body form",
    "tension": "light tension around chest, shoulders, waist, or hips depending on garment type",
    "fabric_behavior": "respect real textile behavior such as denim stiffness, cotton softness, or knit flexibility"
  },

  "composition_requirements": {
    "camera_angle": "straight-on front-facing catalog angle",
    "symmetry": "balanced and professional e-commerce alignment",
    "product_visibility": "entire garment fully visible without cropping",
    "catalog_standard": "consistent framing suitable for automated product galleries"
  },

  "quality_requirements": {
    "style": "luxury fashion e-commerce photography",
    "sharpness": "high-detail crisp garment texture",
    "resolution": "high resolution suitable for product zoom",
    "cleanliness": "no dust, wrinkles, artifacts, distortions, or AI hallucinations"
  },

  "pipeline_goal": {
    "use_case": "360-degree product rotation pipeline",
    "consistency_requirement": "garment structure, lighting, and proportions must remain stable and repeatable across multiple angles",
    "output_type": "professional e-commerce catalog image"
  }
}"

### Windsurf

1. npx @runapi.ai/mcp init windsurf
2. Restart Windsurf
3. Paste this prompt: Generate an image: "{
  "model": "nano-banana",
  "task": "image_to_image_product_transformation",

  "objective": "Transform the provided clothing product image into a luxury studio ghost-mannequin presentation where the garment appears naturally worn and volumetric, as if inflated with air on an invisible mannequin. Preserve the exact identity of the original product with zero alterations.",

  "input_description": {
    "source_image_type": "flat lay clothing product photo",
    "background": "white background",
    "product_category": "general clothing (t-shirts, jackets, hoodies, pants, denim, vests, etc)"
  },

  "transformation_rules": {
    "garment_structure": "inflate the garment as if worn by an invisible mannequin, creating natural body volume and shape while keeping the interior empty",
    "mannequin_style": "luxury ghost mannequin used in high-end fashion e-commerce photography",
    "fabric_condition": "perfectly ironed fabric with subtle natural folds that reflect realistic garment tension",
    "pose": "natural wearable garment shape as if placed on a torso or body form, but with no visible mannequin or human presence",
    "center_alignment": "the garment must remain perfectly centered in the frame",
    "framing": "clean product catalog composition with balanced margins on all sides",
    "background": "pure white professional studio background (#FFFFFF) with no gradients, textures, props, or shadows except a very soft natural grounding shadow"
  },

  "lighting": {
    "style": "high-end fashion e-commerce studio lighting",
    "direction": "soft frontal lighting with balanced fill light",
    "goal": "highlight fabric texture, stitching, seams, and garment structure",
    "shadow_control": "minimal soft shadow directly beneath garment for realism",
    "exposure": "clean bright exposure without overblown highlights or crushed shadows"
  },

  "identity_preservation": {
    "color": "preserve the exact original color values",
    "texture": "preserve the exact fabric texture and weave",
    "logos": "preserve existing logos exactly if present",
    "stitching": "preserve stitching patterns exactly",
    "details": "preserve pockets, buttons, zippers, seams, embroidery, tags, and all construction details exactly"
  },

  "strict_prohibitions": [
    "do not add new logos",
    "do not remove existing logos",
    "do not change garment color",
    "do not alter stitching",
    "do not modify pockets",
    "do not modify garment design",
    "do not invent new fabric textures",
    "do not change garment proportions",
    "do not add accessories",
    "do not add a human model",
    "do not add a mannequin",
    "do not add props or scenery",
    "do not crop the garment"
  ],

  "fabric_realism": {
    "structure": "realistic garment volume based on clothing physics",
    "folds": "subtle natural folds caused by gravity and body form",
    "tension": "light tension around chest, shoulders, waist, or hips depending on garment type",
    "fabric_behavior": "respect real textile behavior such as denim stiffness, cotton softness, or knit flexibility"
  },

  "composition_requirements": {
    "camera_angle": "straight-on front-facing catalog angle",
    "symmetry": "balanced and professional e-commerce alignment",
    "product_visibility": "entire garment fully visible without cropping",
    "catalog_standard": "consistent framing suitable for automated product galleries"
  },

  "quality_requirements": {
    "style": "luxury fashion e-commerce photography",
    "sharpness": "high-detail crisp garment texture",
    "resolution": "high resolution suitable for product zoom",
    "cleanliness": "no dust, wrinkles, artifacts, distortions, or AI hallucinations"
  },

  "pipeline_goal": {
    "use_case": "360-degree product rotation pipeline",
    "consistency_requirement": "garment structure, lighting, and proportions must remain stable and repeatable across multiple angles",
    "output_type": "professional e-commerce catalog image"
  }
}"

<!-- 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": "{\n  \"model\": \"nano-banana\",\n  \"task\": \"image_to_image_product_transformation\",\n\n  \"objective\": \"Transform the provided clothing product image into a luxury studio ghost-mannequin presentation where the garment appears naturally worn and volumetric, as if inflated with air on an invisible mannequin. Preserve the exact identity of the original product with zero alterations.\",\n\n  \"input_description\": {\n    \"source_image_type\": \"flat lay clothing product photo\",\n    \"background\": \"white background\",\n    \"product_category\": \"general clothing (t-shirts, jackets, hoodies, pants, denim, vests, etc)\"\n  },\n\n  \"transformation_rules\": {\n    \"garment_structure\": \"inflate the garment as if worn by an invisible mannequin, creating natural body volume and shape while keeping the interior empty\",\n    \"mannequin_style\": \"luxury ghost mannequin used in high-end fashion e-commerce photography\",\n    \"fabric_condition\": \"perfectly ironed fabric with subtle natural folds that reflect realistic garment tension\",\n    \"pose\": \"natural wearable garment shape as if placed on a torso or body form, but with no visible mannequin or human presence\",\n    \"center_alignment\": \"the garment must remain perfectly centered in the frame\",\n    \"framing\": \"clean product catalog composition with balanced margins on all sides\",\n    \"background\": \"pure white professional studio background (#FFFFFF) with no gradients, textures, props, or shadows except a very soft natural grounding shadow\"\n  },\n\n  \"lighting\": {\n    \"style\": \"high-end fashion e-commerce studio lighting\",\n    \"direction\": \"soft frontal lighting with balanced fill light\",\n    \"goal\": \"highlight fabric texture, stitching, seams, and garment structure\",\n    \"shadow_control\": \"minimal soft shadow directly beneath garment for realism\",\n    \"exposure\": \"clean bright exposure without overblown highlights or crushed shadows\"\n  },\n\n  \"identity_preservation\": {\n    \"color\": \"preserve the exact original color values\",\n    \"texture\": \"preserve the exact fabric texture and weave\",\n    \"logos\": \"preserve existing logos exactly if present\",\n    \"stitching\": \"preserve stitching patterns exactly\",\n    \"details\": \"preserve pockets, buttons, zippers, seams, embroidery, tags, and all construction details exactly\"\n  },\n\n  \"strict_prohibitions\": [\n    \"do not add new logos\",\n    \"do not remove existing logos\",\n    \"do not change garment color\",\n    \"do not alter stitching\",\n    \"do not modify pockets\",\n    \"do not modify garment design\",\n    \"do not invent new fabric textures\",\n    \"do not change garment proportions\",\n    \"do not add accessories\",\n    \"do not add a human model\",\n    \"do not add a mannequin\",\n    \"do not add props or scenery\",\n    \"do not crop the garment\"\n  ],\n\n  \"fabric_realism\": {\n    \"structure\": \"realistic garment volume based on clothing physics\",\n    \"folds\": \"subtle natural folds caused by gravity and body form\",\n    \"tension\": \"light tension around chest, shoulders, waist, or hips depending on garment type\",\n    \"fabric_behavior\": \"respect real textile behavior such as denim stiffness, cotton softness, or knit flexibility\"\n  },\n\n  \"composition_requirements\": {\n    \"camera_angle\": \"straight-on front-facing catalog angle\",\n    \"symmetry\": \"balanced and professional e-commerce alignment\",\n    \"product_visibility\": \"entire garment fully visible without cropping\",\n    \"catalog_standard\": \"consistent framing suitable for automated product galleries\"\n  },\n\n  \"quality_requirements\": {\n    \"style\": \"luxury fashion e-commerce photography\",\n    \"sharpness\": \"high-detail crisp garment texture\",\n    \"resolution\": \"high resolution suitable for product zoom\",\n    \"cleanliness\": \"no dust, wrinkles, artifacts, distortions, or AI hallucinations\"\n  },\n\n  \"pipeline_goal\": {\n    \"use_case\": \"360-degree product rotation pipeline\",\n    \"consistency_requirement\": \"garment structure, lighting, and proportions must remain stable and repeatable across multiple angles\",\n    \"output_type\": \"professional e-commerce catalog image\"\n  }\n}"
}
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": "{\n  \"model\": \"nano-banana\",\n  \"task\": \"image_to_image_product_transformation\",\n\n  \"objective\": \"Transform the provided clothing product image into a luxury studio ghost-mannequin presentation where the garment appears naturally worn and volumetric, as if inflated with air on an invisible mannequin. Preserve the exact identity of the original product with zero alterations.\",\n\n  \"input_description\": {\n    \"source_image_type\": \"flat lay clothing product photo\",\n    \"background\": \"white background\",\n    \"product_category\": \"general clothing (t-shirts, jackets, hoodies, pants, denim, vests, etc)\"\n  },\n\n  \"transformation_rules\": {\n    \"garment_structure\": \"inflate the garment as if worn by an invisible mannequin, creating natural body volume and shape while keeping the interior empty\",\n    \"mannequin_style\": \"luxury ghost mannequin used in high-end fashion e-commerce photography\",\n    \"fabric_condition\": \"perfectly ironed fabric with subtle natural folds that reflect realistic garment tension\",\n    \"pose\": \"natural wearable garment shape as if placed on a torso or body form, but with no visible mannequin or human presence\",\n    \"center_alignment\": \"the garment must remain perfectly centered in the frame\",\n    \"framing\": \"clean product catalog composition with balanced margins on all sides\",\n    \"background\": \"pure white professional studio background (#FFFFFF) with no gradients, textures, props, or shadows except a very soft natural grounding shadow\"\n  },\n\n  \"lighting\": {\n    \"style\": \"high-end fashion e-commerce studio lighting\",\n    \"direction\": \"soft frontal lighting with balanced fill light\",\n    \"goal\": \"highlight fabric texture, stitching, seams, and garment structure\",\n    \"shadow_control\": \"minimal soft shadow directly beneath garment for realism\",\n    \"exposure\": \"clean bright exposure without overblown highlights or crushed shadows\"\n  },\n\n  \"identity_preservation\": {\n    \"color\": \"preserve the exact original color values\",\n    \"texture\": \"preserve the exact fabric texture and weave\",\n    \"logos\": \"preserve existing logos exactly if present\",\n    \"stitching\": \"preserve stitching patterns exactly\",\n    \"details\": \"preserve pockets, buttons, zippers, seams, embroidery, tags, and all construction details exactly\"\n  },\n\n  \"strict_prohibitions\": [\n    \"do not add new logos\",\n    \"do not remove existing logos\",\n    \"do not change garment color\",\n    \"do not alter stitching\",\n    \"do not modify pockets\",\n    \"do not modify garment design\",\n    \"do not invent new fabric textures\",\n    \"do not change garment proportions\",\n    \"do not add accessories\",\n    \"do not add a human model\",\n    \"do not add a mannequin\",\n    \"do not add props or scenery\",\n    \"do not crop the garment\"\n  ],\n\n  \"fabric_realism\": {\n    \"structure\": \"realistic garment volume based on clothing physics\",\n    \"folds\": \"subtle natural folds caused by gravity and body form\",\n    \"tension\": \"light tension around chest, shoulders, waist, or hips depending on garment type\",\n    \"fabric_behavior\": \"respect real textile behavior such as denim stiffness, cotton softness, or knit flexibility\"\n  },\n\n  \"composition_requirements\": {\n    \"camera_angle\": \"straight-on front-facing catalog angle\",\n    \"symmetry\": \"balanced and professional e-commerce alignment\",\n    \"product_visibility\": \"entire garment fully visible without cropping\",\n    \"catalog_standard\": \"consistent framing suitable for automated product galleries\"\n  },\n\n  \"quality_requirements\": {\n    \"style\": \"luxury fashion e-commerce photography\",\n    \"sharpness\": \"high-detail crisp garment texture\",\n    \"resolution\": \"high resolution suitable for product zoom\",\n    \"cleanliness\": \"no dust, wrinkles, artifacts, distortions, or AI hallucinations\"\n  },\n\n  \"pipeline_goal\": {\n    \"use_case\": \"360-degree product rotation pipeline\",\n    \"consistency_requirement\": \"garment structure, lighting, and proportions must remain stable and repeatable across multiple angles\",\n    \"output_type\": \"professional e-commerce catalog image\"\n  }\n}"
});
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\": \"{\\n  \\\"model\\\": \\\"nano-banana\\\",\\n  \\\"task\\\": \\\"image_to_image_product_transformation\\\",\\n\\n  \\\"objective\\\": \\\"Transform the provided clothing product image into a luxury studio ghost-mannequin presentation where the garment appears naturally worn and volumetric, as if inflated with air on an invisible mannequin. Preserve the exact identity of the original product with zero alterations.\\\",\\n\\n  \\\"input_description\\\": {\\n    \\\"source_image_type\\\": \\\"flat lay clothing product photo\\\",\\n    \\\"background\\\": \\\"white background\\\",\\n    \\\"product_category\\\": \\\"general clothing (t-shirts, jackets, hoodies, pants, denim, vests, etc)\\\"\\n  },\\n\\n  \\\"transformation_rules\\\": {\\n    \\\"garment_structure\\\": \\\"inflate the garment as if worn by an invisible mannequin, creating natural body volume and shape while keeping the interior empty\\\",\\n    \\\"mannequin_style\\\": \\\"luxury ghost mannequin used in high-end fashion e-commerce photography\\\",\\n    \\\"fabric_condition\\\": \\\"perfectly ironed fabric with subtle natural folds that reflect realistic garment tension\\\",\\n    \\\"pose\\\": \\\"natural wearable garment shape as if placed on a torso or body form, but with no visible mannequin or human presence\\\",\\n    \\\"center_alignment\\\": \\\"the garment must remain perfectly centered in the frame\\\",\\n    \\\"framing\\\": \\\"clean product catalog composition with balanced margins on all sides\\\",\\n    \\\"background\\\": \\\"pure white professional studio background (#FFFFFF) with no gradients, textures, props, or shadows except a very soft natural grounding shadow\\\"\\n  },\\n\\n  \\\"lighting\\\": {\\n    \\\"style\\\": \\\"high-end fashion e-commerce studio lighting\\\",\\n    \\\"direction\\\": \\\"soft frontal lighting with balanced fill light\\\",\\n    \\\"goal\\\": \\\"highlight fabric texture, stitching, seams, and garment structure\\\",\\n    \\\"shadow_control\\\": \\\"minimal soft shadow directly beneath garment for realism\\\",\\n    \\\"exposure\\\": \\\"clean bright exposure without overblown highlights or crushed shadows\\\"\\n  },\\n\\n  \\\"identity_preservation\\\": {\\n    \\\"color\\\": \\\"preserve the exact original color values\\\",\\n    \\\"texture\\\": \\\"preserve the exact fabric texture and weave\\\",\\n    \\\"logos\\\": \\\"preserve existing logos exactly if present\\\",\\n    \\\"stitching\\\": \\\"preserve stitching patterns exactly\\\",\\n    \\\"details\\\": \\\"preserve pockets, buttons, zippers, seams, embroidery, tags, and all construction details exactly\\\"\\n  },\\n\\n  \\\"strict_prohibitions\\\": [\\n    \\\"do not add new logos\\\",\\n    \\\"do not remove existing logos\\\",\\n    \\\"do not change garment color\\\",\\n    \\\"do not alter stitching\\\",\\n    \\\"do not modify pockets\\\",\\n    \\\"do not modify garment design\\\",\\n    \\\"do not invent new fabric textures\\\",\\n    \\\"do not change garment proportions\\\",\\n    \\\"do not add accessories\\\",\\n    \\\"do not add a human model\\\",\\n    \\\"do not add a mannequin\\\",\\n    \\\"do not add props or scenery\\\",\\n    \\\"do not crop the garment\\\"\\n  ],\\n\\n  \\\"fabric_realism\\\": {\\n    \\\"structure\\\": \\\"realistic garment volume based on clothing physics\\\",\\n    \\\"folds\\\": \\\"subtle natural folds caused by gravity and body form\\\",\\n    \\\"tension\\\": \\\"light tension around chest, shoulders, waist, or hips depending on garment type\\\",\\n    \\\"fabric_behavior\\\": \\\"respect real textile behavior such as denim stiffness, cotton softness, or knit flexibility\\\"\\n  },\\n\\n  \\\"composition_requirements\\\": {\\n    \\\"camera_angle\\\": \\\"straight-on front-facing catalog angle\\\",\\n    \\\"symmetry\\\": \\\"balanced and professional e-commerce alignment\\\",\\n    \\\"product_visibility\\\": \\\"entire garment fully visible without cropping\\\",\\n    \\\"catalog_standard\\\": \\\"consistent framing suitable for automated product galleries\\\"\\n  },\\n\\n  \\\"quality_requirements\\\": {\\n    \\\"style\\\": \\\"luxury fashion e-commerce photography\\\",\\n    \\\"sharpness\\\": \\\"high-detail crisp garment texture\\\",\\n    \\\"resolution\\\": \\\"high resolution suitable for product zoom\\\",\\n    \\\"cleanliness\\\": \\\"no dust, wrinkles, artifacts, distortions, or AI hallucinations\\\"\\n  },\\n\\n  \\\"pipeline_goal\\\": {\\n    \\\"use_case\\\": \\\"360-degree product rotation pipeline\\\",\\n    \\\"consistency_requirement\\\": \\\"garment structure, lighting, and proportions must remain stable and repeatable across multiple angles\\\",\\n    \\\"output_type\\\": \\\"professional e-commerce catalog image\\\"\\n  }\\n}\"\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\": \"{\\n  \\\"model\\\": \\\"nano-banana\\\",\\n  \\\"task\\\": \\\"image_to_image_product_transformation\\\",\\n\\n  \\\"objective\\\": \\\"Transform the provided clothing product image into a luxury studio ghost-mannequin presentation where the garment appears naturally worn and volumetric, as if inflated with air on an invisible mannequin. Preserve the exact identity of the original product with zero alterations.\\\",\\n\\n  \\\"input_description\\\": {\\n    \\\"source_image_type\\\": \\\"flat lay clothing product photo\\\",\\n    \\\"background\\\": \\\"white background\\\",\\n    \\\"product_category\\\": \\\"general clothing (t-shirts, jackets, hoodies, pants, denim, vests, etc)\\\"\\n  },\\n\\n  \\\"transformation_rules\\\": {\\n    \\\"garment_structure\\\": \\\"inflate the garment as if worn by an invisible mannequin, creating natural body volume and shape while keeping the interior empty\\\",\\n    \\\"mannequin_style\\\": \\\"luxury ghost mannequin used in high-end fashion e-commerce photography\\\",\\n    \\\"fabric_condition\\\": \\\"perfectly ironed fabric with subtle natural folds that reflect realistic garment tension\\\",\\n    \\\"pose\\\": \\\"natural wearable garment shape as if placed on a torso or body form, but with no visible mannequin or human presence\\\",\\n    \\\"center_alignment\\\": \\\"the garment must remain perfectly centered in the frame\\\",\\n    \\\"framing\\\": \\\"clean product catalog composition with balanced margins on all sides\\\",\\n    \\\"background\\\": \\\"pure white professional studio background (#FFFFFF) with no gradients, textures, props, or shadows except a very soft natural grounding shadow\\\"\\n  },\\n\\n  \\\"lighting\\\": {\\n    \\\"style\\\": \\\"high-end fashion e-commerce studio lighting\\\",\\n    \\\"direction\\\": \\\"soft frontal lighting with balanced fill light\\\",\\n    \\\"goal\\\": \\\"highlight fabric texture, stitching, seams, and garment structure\\\",\\n    \\\"shadow_control\\\": \\\"minimal soft shadow directly beneath garment for realism\\\",\\n    \\\"exposure\\\": \\\"clean bright exposure without overblown highlights or crushed shadows\\\"\\n  },\\n\\n  \\\"identity_preservation\\\": {\\n    \\\"color\\\": \\\"preserve the exact original color values\\\",\\n    \\\"texture\\\": \\\"preserve the exact fabric texture and weave\\\",\\n    \\\"logos\\\": \\\"preserve existing logos exactly if present\\\",\\n    \\\"stitching\\\": \\\"preserve stitching patterns exactly\\\",\\n    \\\"details\\\": \\\"preserve pockets, buttons, zippers, seams, embroidery, tags, and all construction details exactly\\\"\\n  },\\n\\n  \\\"strict_prohibitions\\\": [\\n    \\\"do not add new logos\\\",\\n    \\\"do not remove existing logos\\\",\\n    \\\"do not change garment color\\\",\\n    \\\"do not alter stitching\\\",\\n    \\\"do not modify pockets\\\",\\n    \\\"do not modify garment design\\\",\\n    \\\"do not invent new fabric textures\\\",\\n    \\\"do not change garment proportions\\\",\\n    \\\"do not add accessories\\\",\\n    \\\"do not add a human model\\\",\\n    \\\"do not add a mannequin\\\",\\n    \\\"do not add props or scenery\\\",\\n    \\\"do not crop the garment\\\"\\n  ],\\n\\n  \\\"fabric_realism\\\": {\\n    \\\"structure\\\": \\\"realistic garment volume based on clothing physics\\\",\\n    \\\"folds\\\": \\\"subtle natural folds caused by gravity and body form\\\",\\n    \\\"tension\\\": \\\"light tension around chest, shoulders, waist, or hips depending on garment type\\\",\\n    \\\"fabric_behavior\\\": \\\"respect real textile behavior such as denim stiffness, cotton softness, or knit flexibility\\\"\\n  },\\n\\n  \\\"composition_requirements\\\": {\\n    \\\"camera_angle\\\": \\\"straight-on front-facing catalog angle\\\",\\n    \\\"symmetry\\\": \\\"balanced and professional e-commerce alignment\\\",\\n    \\\"product_visibility\\\": \\\"entire garment fully visible without cropping\\\",\\n    \\\"catalog_standard\\\": \\\"consistent framing suitable for automated product galleries\\\"\\n  },\\n\\n  \\\"quality_requirements\\\": {\\n    \\\"style\\\": \\\"luxury fashion e-commerce photography\\\",\\n    \\\"sharpness\\\": \\\"high-detail crisp garment texture\\\",\\n    \\\"resolution\\\": \\\"high resolution suitable for product zoom\\\",\\n    \\\"cleanliness\\\": \\\"no dust, wrinkles, artifacts, distortions, or AI hallucinations\\\"\\n  },\\n\\n  \\\"pipeline_goal\\\": {\\n    \\\"use_case\\\": \\\"360-degree product rotation pipeline\\\",\\n    \\\"consistency_requirement\\\": \\\"garment structure, lighting, and proportions must remain stable and repeatable across multiple angles\\\",\\n    \\\"output_type\\\": \\\"professional e-commerce catalog image\\\"\\n  }\\n}\"\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\": \"{\\n  \\\"model\\\": \\\"nano-banana\\\",\\n  \\\"task\\\": \\\"image_to_image_product_transformation\\\",\\n\\n  \\\"objective\\\": \\\"Transform the provided clothing product image into a luxury studio ghost-mannequin presentation where the garment appears naturally worn and volumetric, as if inflated with air on an invisible mannequin. Preserve the exact identity of the original product with zero alterations.\\\",\\n\\n  \\\"input_description\\\": {\\n    \\\"source_image_type\\\": \\\"flat lay clothing product photo\\\",\\n    \\\"background\\\": \\\"white background\\\",\\n    \\\"product_category\\\": \\\"general clothing (t-shirts, jackets, hoodies, pants, denim, vests, etc)\\\"\\n  },\\n\\n  \\\"transformation_rules\\\": {\\n    \\\"garment_structure\\\": \\\"inflate the garment as if worn by an invisible mannequin, creating natural body volume and shape while keeping the interior empty\\\",\\n    \\\"mannequin_style\\\": \\\"luxury ghost mannequin used in high-end fashion e-commerce photography\\\",\\n    \\\"fabric_condition\\\": \\\"perfectly ironed fabric with subtle natural folds that reflect realistic garment tension\\\",\\n    \\\"pose\\\": \\\"natural wearable garment shape as if placed on a torso or body form, but with no visible mannequin or human presence\\\",\\n    \\\"center_alignment\\\": \\\"the garment must remain perfectly centered in the frame\\\",\\n    \\\"framing\\\": \\\"clean product catalog composition with balanced margins on all sides\\\",\\n    \\\"background\\\": \\\"pure white professional studio background (#FFFFFF) with no gradients, textures, props, or shadows except a very soft natural grounding shadow\\\"\\n  },\\n\\n  \\\"lighting\\\": {\\n    \\\"style\\\": \\\"high-end fashion e-commerce studio lighting\\\",\\n    \\\"direction\\\": \\\"soft frontal lighting with balanced fill light\\\",\\n    \\\"goal\\\": \\\"highlight fabric texture, stitching, seams, and garment structure\\\",\\n    \\\"shadow_control\\\": \\\"minimal soft shadow directly beneath garment for realism\\\",\\n    \\\"exposure\\\": \\\"clean bright exposure without overblown highlights or crushed shadows\\\"\\n  },\\n\\n  \\\"identity_preservation\\\": {\\n    \\\"color\\\": \\\"preserve the exact original color values\\\",\\n    \\\"texture\\\": \\\"preserve the exact fabric texture and weave\\\",\\n    \\\"logos\\\": \\\"preserve existing logos exactly if present\\\",\\n    \\\"stitching\\\": \\\"preserve stitching patterns exactly\\\",\\n    \\\"details\\\": \\\"preserve pockets, buttons, zippers, seams, embroidery, tags, and all construction details exactly\\\"\\n  },\\n\\n  \\\"strict_prohibitions\\\": [\\n    \\\"do not add new logos\\\",\\n    \\\"do not remove existing logos\\\",\\n    \\\"do not change garment color\\\",\\n    \\\"do not alter stitching\\\",\\n    \\\"do not modify pockets\\\",\\n    \\\"do not modify garment design\\\",\\n    \\\"do not invent new fabric textures\\\",\\n    \\\"do not change garment proportions\\\",\\n    \\\"do not add accessories\\\",\\n    \\\"do not add a human model\\\",\\n    \\\"do not add a mannequin\\\",\\n    \\\"do not add props or scenery\\\",\\n    \\\"do not crop the garment\\\"\\n  ],\\n\\n  \\\"fabric_realism\\\": {\\n    \\\"structure\\\": \\\"realistic garment volume based on clothing physics\\\",\\n    \\\"folds\\\": \\\"subtle natural folds caused by gravity and body form\\\",\\n    \\\"tension\\\": \\\"light tension around chest, shoulders, waist, or hips depending on garment type\\\",\\n    \\\"fabric_behavior\\\": \\\"respect real textile behavior such as denim stiffness, cotton softness, or knit flexibility\\\"\\n  },\\n\\n  \\\"composition_requirements\\\": {\\n    \\\"camera_angle\\\": \\\"straight-on front-facing catalog angle\\\",\\n    \\\"symmetry\\\": \\\"balanced and professional e-commerce alignment\\\",\\n    \\\"product_visibility\\\": \\\"entire garment fully visible without cropping\\\",\\n    \\\"catalog_standard\\\": \\\"consistent framing suitable for automated product galleries\\\"\\n  },\\n\\n  \\\"quality_requirements\\\": {\\n    \\\"style\\\": \\\"luxury fashion e-commerce photography\\\",\\n    \\\"sharpness\\\": \\\"high-detail crisp garment texture\\\",\\n    \\\"resolution\\\": \\\"high resolution suitable for product zoom\\\",\\n    \\\"cleanliness\\\": \\\"no dust, wrinkles, artifacts, distortions, or AI hallucinations\\\"\\n  },\\n\\n  \\\"pipeline_goal\\\": {\\n    \\\"use_case\\\": \\\"360-degree product rotation pipeline\\\",\\n    \\\"consistency_requirement\\\": \\\"garment structure, lighting, and proportions must remain stable and repeatable across multiple angles\\\",\\n    \\\"output_type\\\": \\\"professional e-commerce catalog image\\\"\\n  }\\n}\"\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\": \"{\\n  \\\"model\\\": \\\"nano-banana\\\",\\n  \\\"task\\\": \\\"image_to_image_product_transformation\\\",\\n\\n  \\\"objective\\\": \\\"Transform the provided clothing product image into a luxury studio ghost-mannequin presentation where the garment appears naturally worn and volumetric, as if inflated with air on an invisible mannequin. Preserve the exact identity of the original product with zero alterations.\\\",\\n\\n  \\\"input_description\\\": {\\n    \\\"source_image_type\\\": \\\"flat lay clothing product photo\\\",\\n    \\\"background\\\": \\\"white background\\\",\\n    \\\"product_category\\\": \\\"general clothing (t-shirts, jackets, hoodies, pants, denim, vests, etc)\\\"\\n  },\\n\\n  \\\"transformation_rules\\\": {\\n    \\\"garment_structure\\\": \\\"inflate the garment as if worn by an invisible mannequin, creating natural body volume and shape while keeping the interior empty\\\",\\n    \\\"mannequin_style\\\": \\\"luxury ghost mannequin used in high-end fashion e-commerce photography\\\",\\n    \\\"fabric_condition\\\": \\\"perfectly ironed fabric with subtle natural folds that reflect realistic garment tension\\\",\\n    \\\"pose\\\": \\\"natural wearable garment shape as if placed on a torso or body form, but with no visible mannequin or human presence\\\",\\n    \\\"center_alignment\\\": \\\"the garment must remain perfectly centered in the frame\\\",\\n    \\\"framing\\\": \\\"clean product catalog composition with balanced margins on all sides\\\",\\n    \\\"background\\\": \\\"pure white professional studio background (#FFFFFF) with no gradients, textures, props, or shadows except a very soft natural grounding shadow\\\"\\n  },\\n\\n  \\\"lighting\\\": {\\n    \\\"style\\\": \\\"high-end fashion e-commerce studio lighting\\\",\\n    \\\"direction\\\": \\\"soft frontal lighting with balanced fill light\\\",\\n    \\\"goal\\\": \\\"highlight fabric texture, stitching, seams, and garment structure\\\",\\n    \\\"shadow_control\\\": \\\"minimal soft shadow directly beneath garment for realism\\\",\\n    \\\"exposure\\\": \\\"clean bright exposure without overblown highlights or crushed shadows\\\"\\n  },\\n\\n  \\\"identity_preservation\\\": {\\n    \\\"color\\\": \\\"preserve the exact original color values\\\",\\n    \\\"texture\\\": \\\"preserve the exact fabric texture and weave\\\",\\n    \\\"logos\\\": \\\"preserve existing logos exactly if present\\\",\\n    \\\"stitching\\\": \\\"preserve stitching patterns exactly\\\",\\n    \\\"details\\\": \\\"preserve pockets, buttons, zippers, seams, embroidery, tags, and all construction details exactly\\\"\\n  },\\n\\n  \\\"strict_prohibitions\\\": [\\n    \\\"do not add new logos\\\",\\n    \\\"do not remove existing logos\\\",\\n    \\\"do not change garment color\\\",\\n    \\\"do not alter stitching\\\",\\n    \\\"do not modify pockets\\\",\\n    \\\"do not modify garment design\\\",\\n    \\\"do not invent new fabric textures\\\",\\n    \\\"do not change garment proportions\\\",\\n    \\\"do not add accessories\\\",\\n    \\\"do not add a human model\\\",\\n    \\\"do not add a mannequin\\\",\\n    \\\"do not add props or scenery\\\",\\n    \\\"do not crop the garment\\\"\\n  ],\\n\\n  \\\"fabric_realism\\\": {\\n    \\\"structure\\\": \\\"realistic garment volume based on clothing physics\\\",\\n    \\\"folds\\\": \\\"subtle natural folds caused by gravity and body form\\\",\\n    \\\"tension\\\": \\\"light tension around chest, shoulders, waist, or hips depending on garment type\\\",\\n    \\\"fabric_behavior\\\": \\\"respect real textile behavior such as denim stiffness, cotton softness, or knit flexibility\\\"\\n  },\\n\\n  \\\"composition_requirements\\\": {\\n    \\\"camera_angle\\\": \\\"straight-on front-facing catalog angle\\\",\\n    \\\"symmetry\\\": \\\"balanced and professional e-commerce alignment\\\",\\n    \\\"product_visibility\\\": \\\"entire garment fully visible without cropping\\\",\\n    \\\"catalog_standard\\\": \\\"consistent framing suitable for automated product galleries\\\"\\n  },\\n\\n  \\\"quality_requirements\\\": {\\n    \\\"style\\\": \\\"luxury fashion e-commerce photography\\\",\\n    \\\"sharpness\\\": \\\"high-detail crisp garment texture\\\",\\n    \\\"resolution\\\": \\\"high resolution suitable for product zoom\\\",\\n    \\\"cleanliness\\\": \\\"no dust, wrinkles, artifacts, distortions, or AI hallucinations\\\"\\n  },\\n\\n  \\\"pipeline_goal\\\": {\\n    \\\"use_case\\\": \\\"360-degree product rotation pipeline\\\",\\n    \\\"consistency_requirement\\\": \\\"garment structure, lighting, and proportions must remain stable and repeatable across multiple angles\\\",\\n    \\\"output_type\\\": \\\"professional e-commerce catalog image\\\"\\n  }\\n}\"\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\":\"{\\n  \\\"model\\\": \\\"nano-banana\\\",\\n  \\\"task\\\": \\\"image_to_image_product_transformation\\\",\\n\\n  \\\"objective\\\": \\\"Transform the provided clothing product image into a luxury studio ghost-mannequin presentation where the garment appears naturally worn and volumetric, as if inflated with air on an invisible mannequin. Preserve the exact identity of the original product with zero alterations.\\\",\\n\\n  \\\"input_description\\\": {\\n    \\\"source_image_type\\\": \\\"flat lay clothing product photo\\\",\\n    \\\"background\\\": \\\"white background\\\",\\n    \\\"product_category\\\": \\\"general clothing (t-shirts, jackets, hoodies, pants, denim, vests, etc)\\\"\\n  },\\n\\n  \\\"transformation_rules\\\": {\\n    \\\"garment_structure\\\": \\\"inflate the garment as if worn by an invisible mannequin, creating natural body volume and shape while keeping the interior empty\\\",\\n    \\\"mannequin_style\\\": \\\"luxury ghost mannequin used in high-end fashion e-commerce photography\\\",\\n    \\\"fabric_condition\\\": \\\"perfectly ironed fabric with subtle natural folds that reflect realistic garment tension\\\",\\n    \\\"pose\\\": \\\"natural wearable garment shape as if placed on a torso or body form, but with no visible mannequin or human presence\\\",\\n    \\\"center_alignment\\\": \\\"the garment must remain perfectly centered in the frame\\\",\\n    \\\"framing\\\": \\\"clean product catalog composition with balanced margins on all sides\\\",\\n    \\\"background\\\": \\\"pure white professional studio background (#FFFFFF) with no gradients, textures, props, or shadows except a very soft natural grounding shadow\\\"\\n  },\\n\\n  \\\"lighting\\\": {\\n    \\\"style\\\": \\\"high-end fashion e-commerce studio lighting\\\",\\n    \\\"direction\\\": \\\"soft frontal lighting with balanced fill light\\\",\\n    \\\"goal\\\": \\\"highlight fabric texture, stitching, seams, and garment structure\\\",\\n    \\\"shadow_control\\\": \\\"minimal soft shadow directly beneath garment for realism\\\",\\n    \\\"exposure\\\": \\\"clean bright exposure without overblown highlights or crushed shadows\\\"\\n  },\\n\\n  \\\"identity_preservation\\\": {\\n    \\\"color\\\": \\\"preserve the exact original color values\\\",\\n    \\\"texture\\\": \\\"preserve the exact fabric texture and weave\\\",\\n    \\\"logos\\\": \\\"preserve existing logos exactly if present\\\",\\n    \\\"stitching\\\": \\\"preserve stitching patterns exactly\\\",\\n    \\\"details\\\": \\\"preserve pockets, buttons, zippers, seams, embroidery, tags, and all construction details exactly\\\"\\n  },\\n\\n  \\\"strict_prohibitions\\\": [\\n    \\\"do not add new logos\\\",\\n    \\\"do not remove existing logos\\\",\\n    \\\"do not change garment color\\\",\\n    \\\"do not alter stitching\\\",\\n    \\\"do not modify pockets\\\",\\n    \\\"do not modify garment design\\\",\\n    \\\"do not invent new fabric textures\\\",\\n    \\\"do not change garment proportions\\\",\\n    \\\"do not add accessories\\\",\\n    \\\"do not add a human model\\\",\\n    \\\"do not add a mannequin\\\",\\n    \\\"do not add props or scenery\\\",\\n    \\\"do not crop the garment\\\"\\n  ],\\n\\n  \\\"fabric_realism\\\": {\\n    \\\"structure\\\": \\\"realistic garment volume based on clothing physics\\\",\\n    \\\"folds\\\": \\\"subtle natural folds caused by gravity and body form\\\",\\n    \\\"tension\\\": \\\"light tension around chest, shoulders, waist, or hips depending on garment type\\\",\\n    \\\"fabric_behavior\\\": \\\"respect real textile behavior such as denim stiffness, cotton softness, or knit flexibility\\\"\\n  },\\n\\n  \\\"composition_requirements\\\": {\\n    \\\"camera_angle\\\": \\\"straight-on front-facing catalog angle\\\",\\n    \\\"symmetry\\\": \\\"balanced and professional e-commerce alignment\\\",\\n    \\\"product_visibility\\\": \\\"entire garment fully visible without cropping\\\",\\n    \\\"catalog_standard\\\": \\\"consistent framing suitable for automated product galleries\\\"\\n  },\\n\\n  \\\"quality_requirements\\\": {\\n    \\\"style\\\": \\\"luxury fashion e-commerce photography\\\",\\n    \\\"sharpness\\\": \\\"high-detail crisp garment texture\\\",\\n    \\\"resolution\\\": \\\"high resolution suitable for product zoom\\\",\\n    \\\"cleanliness\\\": \\\"no dust, wrinkles, artifacts, distortions, or AI hallucinations\\\"\\n  },\\n\\n  \\\"pipeline_goal\\\": {\\n    \\\"use_case\\\": \\\"360-degree product rotation pipeline\\\",\\n    \\\"consistency_requirement\\\": \\\"garment structure, lighting, and proportions must remain stable and repeatable across multiple angles\\\",\\n    \\\"output_type\\\": \\\"professional e-commerce catalog image\\\"\\n  }\\n}\"}")
  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 "{\n  \"model\": \"nano-banana\",\n  \"task\": \"image_to_image_product_transformation\",\n\n  \"objective\": \"Transform the provided clothing product image into a luxury studio ghost-mannequin presentation where the garment appears naturally worn and volumetric, as if inflated with air on an invisible mannequin. Preserve the exact identity of the original product with zero alterations.\",\n\n  \"input_description\": {\n    \"source_image_type\": \"flat lay clothing product photo\",\n    \"background\": \"white background\",\n    \"product_category\": \"general clothing (t-shirts, jackets, hoodies, pants, denim, vests, etc)\"\n  },\n\n  \"transformation_rules\": {\n    \"garment_structure\": \"inflate the garment as if worn by an invisible mannequin, creating natural body volume and shape while keeping the interior empty\",\n    \"mannequin_style\": \"luxury ghost mannequin used in high-end fashion e-commerce photography\",\n    \"fabric_condition\": \"perfectly ironed fabric with subtle natural folds that reflect realistic garment tension\",\n    \"pose\": \"natural wearable garment shape as if placed on a torso or body form, but with no visible mannequin or human presence\",\n    \"center_alignment\": \"the garment must remain perfectly centered in the frame\",\n    \"framing\": \"clean product catalog composition with balanced margins on all sides\",\n    \"background\": \"pure white professional studio background (#FFFFFF) with no gradients, textures, props, or shadows except a very soft natural grounding shadow\"\n  },\n\n  \"lighting\": {\n    \"style\": \"high-end fashion e-commerce studio lighting\",\n    \"direction\": \"soft frontal lighting with balanced fill light\",\n    \"goal\": \"highlight fabric texture, stitching, seams, and garment structure\",\n    \"shadow_control\": \"minimal soft shadow directly beneath garment for realism\",\n    \"exposure\": \"clean bright exposure without overblown highlights or crushed shadows\"\n  },\n\n  \"identity_preservation\": {\n    \"color\": \"preserve the exact original color values\",\n    \"texture\": \"preserve the exact fabric texture and weave\",\n    \"logos\": \"preserve existing logos exactly if present\",\n    \"stitching\": \"preserve stitching patterns exactly\",\n    \"details\": \"preserve pockets, buttons, zippers, seams, embroidery, tags, and all construction details exactly\"\n  },\n\n  \"strict_prohibitions\": [\n    \"do not add new logos\",\n    \"do not remove existing logos\",\n    \"do not change garment color\",\n    \"do not alter stitching\",\n    \"do not modify pockets\",\n    \"do not modify garment design\",\n    \"do not invent new fabric textures\",\n    \"do not change garment proportions\",\n    \"do not add accessories\",\n    \"do not add a human model\",\n    \"do not add a mannequin\",\n    \"do not add props or scenery\",\n    \"do not crop the garment\"\n  ],\n\n  \"fabric_realism\": {\n    \"structure\": \"realistic garment volume based on clothing physics\",\n    \"folds\": \"subtle natural folds caused by gravity and body form\",\n    \"tension\": \"light tension around chest, shoulders, waist, or hips depending on garment type\",\n    \"fabric_behavior\": \"respect real textile behavior such as denim stiffness, cotton softness, or knit flexibility\"\n  },\n\n  \"composition_requirements\": {\n    \"camera_angle\": \"straight-on front-facing catalog angle\",\n    \"symmetry\": \"balanced and professional e-commerce alignment\",\n    \"product_visibility\": \"entire garment fully visible without cropping\",\n    \"catalog_standard\": \"consistent framing suitable for automated product galleries\"\n  },\n\n  \"quality_requirements\": {\n    \"style\": \"luxury fashion e-commerce photography\",\n    \"sharpness\": \"high-detail crisp garment texture\",\n    \"resolution\": \"high resolution suitable for product zoom\",\n    \"cleanliness\": \"no dust, wrinkles, artifacts, distortions, or AI hallucinations\"\n  },\n\n  \"pipeline_goal\": {\n    \"use_case\": \"360-degree product rotation pipeline\",\n    \"consistency_requirement\": \"garment structure, lighting, and proportions must remain stable and repeatable across multiple angles\",\n    \"output_type\": \"professional e-commerce catalog image\"\n  }\n}" \
    --wait
```

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

## More prompts like this

- [Cozy Mushroom-Embroidered Knit Cape Cardigan: Autumn Outfit Prompt for Any Character](https://runapi.ai/prompts/prm_nQYRMAxVypXehQg5yJa1XzgE.md)
- [Hi-Viz branded running T-shirt design](https://runapi.ai/prompts/prm_lznOE1RPD07Wiz79yK5XYw0q.md)
- [Paper-Quilled Haute Couture Gown Fashion Shot](https://runapi.ai/prompts/prm_YNKpk5gVDan9ilQ58X6E9Qze.md)

## 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": "Transform the provided clothing product image.",
        "item": "https://runapi.ai/prompts/prm_Bn1K3bX5yJkGsJKnDMQjVNqW"
      }
    ]
  },
  {
    "@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": "Transform the provided clothing product image.",
    "text": "{\n  \"model\": \"nano-banana\",\n  \"task\": \"image_to_image_product_transformation\",\n\n  \"objective\": \"Transform the provided clothing product image into a luxury studio ghost-mannequin presentation where the garment appears naturally worn and volumetric, as if inflated with air on an invisible mannequin. Preserve the exact identity of the original product with zero alterations.\",\n\n  \"input_description\": {\n    \"source_image_type\": \"flat lay clothing product photo\",\n    \"background\": \"white background\",\n    \"product_category\": \"general clothing (t-shirts, jackets, hoodies, pants, denim, vests, etc)\"\n  },\n\n  \"transformation_rules\": {\n    \"garment_structure\": \"inflate the garment as if worn by an invisible mannequin, creating natural body volume and shape while keeping the interior empty\",\n    \"mannequin_style\": \"luxury ghost mannequin used in high-end fashion e-commerce photography\",\n    \"fabric_condition\": \"perfectly ironed fabric with subtle natural folds that reflect realistic garment tension\",\n    \"pose\": \"natural wearable garment shape as if placed on a torso or body form, but with no visible mannequin or human presence\",\n    \"center_alignment\": \"the garment must remain perfectly centered in the frame\",\n    \"framing\": \"clean product catalog composition with balanced margins on all sides\",\n    \"background\": \"pure white professional studio background (#FFFFFF) with no gradients, textures, props, or shadows except a very soft natural grounding shadow\"\n  },\n\n  \"lighting\": {\n    \"style\": \"high-end fashion e-commerce studio lighting\",\n    \"direction\": \"soft frontal lighting with balanced fill light\",\n    \"goal\": \"highlight fabric texture, stitching, seams, and garment structure\",\n    \"shadow_control\": \"minimal soft shadow directly beneath garment for realism\",\n    \"exposure\": \"clean bright exposure without overblown highlights or crushed shadows\"\n  },\n\n  \"identity_preservation\": {\n    \"color\": \"preserve the exact original color values\",\n    \"texture\": \"preserve the exact fabric texture and weave\",\n    \"logos\": \"preserve existing logos exactly if present\",\n    \"stitching\": \"preserve stitching patterns exactly\",\n    \"details\": \"preserve pockets, buttons, zippers, seams, embroidery, tags, and all construction details exactly\"\n  },\n\n  \"strict_prohibitions\": [\n    \"do not add new logos\",\n    \"do not remove existing logos\",\n    \"do not change garment color\",\n    \"do not alter stitching\",\n    \"do not modify pockets\",\n    \"do not modify garment design\",\n    \"do not invent new fabric textures\",\n    \"do not change garment proportions\",\n    \"do not add accessories\",\n    \"do not add a human model\",\n    \"do not add a mannequin\",\n    \"do not add props or scenery\",\n    \"do not crop the garment\"\n  ],\n\n  \"fabric_realism\": {\n    \"structure\": \"realistic garment volume based on clothing physics\",\n    \"folds\": \"subtle natural folds caused by gravity and body form\",\n    \"tension\": \"light tension around chest, shoulders, waist, or hips depending on garment type\",\n    \"fabric_behavior\": \"respect real textile behavior such as denim stiffness, cotton softness, or knit flexibility\"\n  },\n\n  \"composition_requirements\": {\n    \"camera_angle\": \"straight-on front-facing catalog angle\",\n    \"symmetry\": \"balanced and professional e-commerce alignment\",\n    \"product_visibility\": \"entire garment fully visible without cropping\",\n    \"catalog_standard\": \"consistent framing suitable for automated product galleries\"\n  },\n\n  \"quality_requirements\": {\n    \"style\": \"luxury fashion e-commerce photography\",\n    \"sharpness\": \"high-detail crisp garment texture\",\n    \"resolution\": \"high resolution suitable for product zoom\",\n    \"cleanliness\": \"no dust, wrinkles, artifacts, distortions, or AI hallucinations\"\n  },\n\n  \"pipeline_goal\": {\n    \"use_case\": \"360-degree product rotation pipeline\",\n    \"consistency_requirement\": \"garment structure, lighting, and proportions must remain stable and repeatable across multiple angles\",\n    \"output_type\": \"professional e-commerce catalog image\"\n  }\n}",
    "image": null,
    "about": [
      "image",
      "fashion"
    ]
  }
]
```
