Skip to content

Welcome to XY API ​

XY API provides a common gateway, customer keys, and consumption records. Use different capabilities with the same account; each capability defines its own parameters and results.

Base URL: https://openai.2yanx.dpdns.org. Create a customer API Key in the console.

Quickstart →

Explore capabilities →

NeedEndpointResult
Generate imagesPOST /v1/images/generationsURL / Base64; optional SSE heartbeats
Edit with referencesPOST /v1/images/editsURL / Base64; JSON or file uploads
Generate videosPOST /v1/videosTask ID, polling, and completed-file download
Stream video progressPOST /v1/responses with stream:trueProgress and a final video link
Background video requestPOST /v1/responses with background:trueResponse ID for later polling

Use asynchronous tasks or SSE for long requests. A disconnected client does not prove the backend stopped or no charge occurred. Check existing tasks and consumption before re-submitting.

See the model catalog for public product names and capability guides.