All services

Service

OpenAI

llm6 endpoints
Docs

OpenAI API for chat completions, embeddings, image generation, and audio. Access GPT-4o, DALL-E, Whisper, and TTS models. Pay per request with USDC on Tempo.

mpp

tempo

Methods

6 methods available

POST/v1/audio/speech
20000 USDC

Generate speech from text.

POST JSON body with model, input text, and voice.

{
  "body": {
    "model": "string (required, 'tts-1' or 'tts-1-hd')",
    "input": "string (required, text to speak)",
    "voice": "string (required: 'alloy', 'echo', 'fable', 'onyx', 'nova', 'shimmer')"
  }
}
POST/v1/audio/transcriptions
10000 USDC

Transcribe audio with Whisper.

POST multipart form data with audio file and model.

{
  "body": {
    "file": "file (required, audio file)",
    "model": "string (required, 'whisper-1')"
  }
}
POST/v1/chat/completions
10000 USDC

Chat completions with GPT-4o, GPT-4, o1, and other models.

POST JSON body with model and messages array.

{
  "body": {
    "model": "string (e.g. 'gpt-4o', 'gpt-4', 'o1-preview')",
    "messages": [
      {
        "role": "string ('system'|'user'|'assistant')",
        "content": "string"
      }
    ],
    "temperature": "number (optional)",
    "max_tokens": "number (optional)",
    "stream": "boolean (optional)"
  }
}
POST/v1/embeddings
100 USDC

Create text embeddings.

POST JSON body with model and input text.

{
  "body": {
    "model": "string (e.g. 'text-embedding-3-small')",
    "input": "string | array of strings"
  }
}
POST/v1/images/generations
50000 USDC

Generate images with DALL-E.

POST JSON body with prompt.

{
  "body": {
    "model": "string (optional, 'dall-e-3')",
    "prompt": "string (required)",
    "size": "string (optional: '1024x1024', '1792x1024', '1024x1792')",
    "quality": "string (optional: 'standard', 'hd')",
    "n": "number (optional, default 1)"
  }
}
POST/v1/responses
10000 USDC

Responses API for Codex, GPT-4o, and other models.

POST JSON body. OpenAI Responses API format.

{
  "body": {
    "model": "string (e.g. 'gpt-4o', 'codex-mini')",
    "input": "string | array",
    "instructions": "string (optional)",
    "temperature": "number (optional)"
  }
}