Skip to content
XY API · Developer docs

Image, video and speech APIs. One gateway.

Generate images, edit with references, or create video and speech tasks. One customer key and billing system, with model-specific APIs and downloadable results.

Base URLhttps://openai.2yanx.dpdns.org

What would you like to build?

All series →
Documented

Images

Generate images from text, or edit with references.

Models and APIs
Documented

Video

Create video tasks, follow progress and download results.

Models and APIs
Documented

Text to speech

Speech synthesis and voice selection.

Models and APIs

Jump to an API

GET STARTED

Start with a small request

Create a customer key, check credit and model permissions, then copy the example. Normal generation billing applies.

  1. Configure authentication
  2. Choose a model
  3. Call and retrieve the result
curl -X POST 'https://openai.2yanx.dpdns.org/v1/images/generations' \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "gpt-image-2",
  "prompt": "白色背景上的黄色圆形,简洁插画"
}'