BEDENX API

Connect your application to GPT-6 Astra, image generation, transcription and speech with a BEDENX key.

Key console

Make your first request

POST/api/v1/responses

Set BEDENX_API_KEY on your application server, then send a text request.

curl https://bedenx.com/api/v1/responses \
  -H "Authorization: Bearer $BEDENX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-6-astra",
    "input": "Say hello.",
    "max_output_tokens": 512
  }'

Read text from output[].content[] entries with type output_text. The response includes token usage when supplied by OpenAI.

Connection

Base URL

https://bedenx.com/api/v1

Authenticate

Authorization: Bearer <BEDENX key>

Check your key

GET/api/v1/models

This endpoint authenticates your key without calling OpenAI. Keep keys in server-side secrets.

Available endpoints

Text keys support Astra through Responses. A multimedia key also grants the following endpoints. Use GET /api/v1/models to list model IDs supported by your key. Actual model access follows the BEDENX OpenAI project.

POST endpointInput and output
/responsesAstra text; multimedia keys also accept inline image data URLs, structured output, reasoning effort, web search and client-executed functions.
/chat/completionsAstra with a messages array and max_completion_tokens.
/images/generationsGPT Image 2.6 Sunburst or Flare. Send a prompt to generate one image.
/images/editsMultipart form with model, image and prompt. PNG, JPEG and WebP are supported.
/audio/transcriptionsMultipart form with model gpt-transcribe and an audio file.
/audio/speechSend input, a built-in voice and gpt-4o-mini-tts for audio output. Disclose AI-generated speech to listeners. OpenAI schedules this model to retire on January 6, 2027.
/embeddingsText vectors from text-embedding-3-small or text-embedding-3-large.
/moderationsClassify text with omni-moderation-latest.

Requests and limits

Astra requests disable response storage. Multimedia keys can stream Responses and Chat Completions with stream set to true. The text profile accepts up to 32 KiB per request. The multimedia profile accepts 4 MiB for Responses, 8 MiB for multipart uploads, and 128 KiB for other JSON requests. Large image and audio results are passed directly to the client. Token counters include usage parsed from JSON responses and exclude streamed text, image and audio bodies.

The administrator sets per-key limits for requests per minute, requests per UTC calendar month and output tokens per request. Each attempt sent to OpenAI counts once, including provider failures. Invalid requests and checks of your key do not count.

StatusWhat to do
400 / 413 / 415Check the request fields, size and content type.
401Check whether the key is active and unexpired.
429Wait for the interval in the Retry-After header.
502 / 503 / 504Check the error code and contact BEDENX with the request ID.