# StableStudio GPT Image 1.5 Generate

> StableStudio GPT Image 1.5 Generate is a paid API for AI agents from StableStudio at stablestudio.dev, paid per call via MPP or x402, $10/call, status unknown (last checked 2026-10-11, last successful call 2026-07-17).

Generates a new image from a text prompt using GPT Image 1.5, returning a job ID for async result retrieval

## Facts

- Endpoint: POST https://stablestudio.dev/api/generate/gpt-image-1.5/generate?utm_source=zero.xyz
- Price: $10/call
- Payment: MPP, x402
- Status: unknown
- Last checked: 2026-10-11
- Last successful call: 2026-07-17
- Success rate: 100% of calls made through Zero
- Activations on Zero: 6
- Provider: StableStudio
- Docs: https://stablestudio.dev
- Website: https://stablestudio.dev
- Tags: image, video, generation, nano-banana, gpt-image, grok, flux, sora, veo, seedance, wan, ai, media, x402
- Canonical page: https://www.zero.xyz/c/stablestudio-generate-e6a3f170
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aC3LyvgdDav93J6B4jX9K

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stablestudio-generate-e6a3f170 -d '<json body>'
```

Example prompt: Generate a high-quality 1024x1536 portrait image of a misty forest at sunrise with golden light filtering through ancient redwood trees — use PNG format with an opaque background and no compression.

## When to prefer this

Choose this endpoint when you need GPT Image 1.5 quality specifically — it offers improved fidelity over GPT Image 1.0. Prefer over Flux 2 Pro when OpenAI's photorealistic style is desired. Use when transparent backgrounds, flexible output formats (PNG/JPEG/WebP), or variable compression are needed. Best for high-detail, prompt-faithful image generation with async job delivery.

## Known failure modes

- Invalid or empty prompt returns validation error
- Unsupported size/quality/format enum value causes 400 bad request
- Payment not provided or insufficient USDC balance returns 402 Payment Required
- Job creation fails server-side, returning success:false
- Rate limiting or capacity issues may cause 429 or 503 responses
- Moderation rejection if prompt violates content policy even at low moderation setting

## How this service works

Pay-per-generation AI image and video creation. No subscriptions ever.

## Output

Returns a JSON object with success:true, a jobId string, status:'pending', and a type field. The agent must poll a separate job-status endpoint using the jobId to retrieve the final generated image once processing completes.

## Example request

```json
{
 "size": "1024x1024",
 "prompt": "A serene landscape with rolling green hills, a clear blue sky, and wildflowers in the foreground during golden hour",
 "quality": "high",
 "background": "opaque",
 "moderation": "low",
 "output_format": "png",
 "output_compression": 0
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "size": {
   "enum": [
    "1024x1024",
    "1536x1024",
    "1024x1536",
    "auto"
   ],
   "type": "string",
   "description": "Image dimensions (square, landscape, portrait, or auto)"
  },
  "prompt": {
   "type": "string",
   "minLength": 1,
   "description": "A detailed description of the image you want to generate"
  },
  "quality": {
   "enum": [
    "low",
    "medium",
    "high"
   ],
   "type": "string",
   "default": "high",
   "description": "Output quality level (affects cost and detail)"
  },
  "background": {
   "enum": [
    "transparent",
    "opaque",
    "auto"
   ],
   "type": "string",
   "default": "auto",
   "description": "Background transparency for PNG output"
  },
  "moderation": {
   "enum": [
    "low",
    "auto"
   ],
   "type": "string",
   "default": "low",
   "description": "Content moderation strictness"
  },
  "output_format": {
   "enum": [
    "png",
    "jpeg",
    "webp"
   ],
   "type": "string",
   "default": "png",
   "description": "Output image format"
  },
  "output_compression": {
   "type": "number",
   "default": 0,
   "maximum": 100,
   "minimum": 0,
   "description": "Compression level (0-100, higher = smaller file)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "gpt-image-1.5-generate",
  "jobId": "cmpbmzaee000j04jrzx4f43tw",
  "status": "pending",
  "pollUrl": "https://stablestudio.dev/api/jobs/cmpbmzaee000j04jrzx4f43tw",
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablestudio-generate-e6a3f170/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablestudio.dev](https://www.zero.xyz/host/stablestudio.dev/llms.txt)
