My App

OpenAI Example

Demonstrating standard and streaming API usage

Options

0–10
0–1
System/developer instructions
For multi-turn conversations

Standard

Full response returned at once

Streaming

Response streamed token by token via SSE

Streaming Image Generation

Responses API with image_generation tool — shows partial images as they render

0–3 (each adds ~100 tokens)

Uses the shared Options above (model, quality, size, format, fidelity, background, compression)

Image Generation

Standalone images.generate endpoint

0–100
1–10

Embeddings

Generate vector embeddings for text

© 2026 My App. All rights reserved.