API Playground - Online Debug Tool

Test various AI models online, quickly validate API features, and generate code examples.

Model selection

Parameters

PreciseBalancedCreative
10020004000

Preset prompts

Enter prompt

Response

The response will appear here

Generated code

curl https://api.example.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "gpt-4o",
    "messages": [
      {
        "role": "user",
        "content": "Hello, please introduce yourself."
      }
    ],
    "temperature": 0.7,
    "max_tokens": 2000
  }'

Usage tips

  • • Higher temperature yields more creative responses
  • • Max tokens affects response length
  • • Different models have different strengths
  • • You can copy code into your project

Model comparison

ModelTypeSpeedCostFeatures
GPT-4oChatFastMediumLatest model, vision supported
Claude 3.5 SonnetChatFastMediumStrong coding capabilities
FLUX 1.1 ProImageVery fastLowHigh-quality image generation