cURL to Python, Node.js or Go
Convert a cURL request into OpenAI SDK code for Python, Node.js, Go, or a clean cURL command. Paste a request against api.aetherapi.dev and get the client code that runs it.
Convert a cURL request into OpenAI SDK code for Python, Node.js, Go, or a clean cURL command. Paste a request against api.aetherapi.dev and get the client code that runs it.
What this tool answers
- The same request as OpenAI SDK code for Python, Node.js, and Go
- A cleaned-up cURL command with the headers in the right order
- The base URL, the endpoint, and the model in one place, so the parts that usually get lost are visible
- A version that points at Aether API instead of a provider's own host
How it calculates
- The body of the cURL command is parsed for the URL, the method, the headers, and the JSON payload.
- The payload becomes the arguments of the SDK call, and the Authorization header becomes the API key.
- Nothing is sent anywhere: the conversion happens in the browser.
Frequently asked questions
Does the converter send my request?
No. The conversion runs entirely in your browser, and no part of the request is sent to Aether or to anyone else.
Which SDKs are supported?
The OpenAI SDK for Python, the OpenAI SDK for Node.js, the official Go SDK, and a plain cURL command. All of them speak the same OpenAI-compatible API.
Why does the generated code use a different base URL?
Aether API is reachable at one base URL for every model, so the code points there instead of a provider-specific host. The request format itself does not change.
Related tools
LLM API cost calculator · How many tokens does this prompt use? · Move from the OpenAI API to Aether API · Which AI model should I use? · llms.txt generator
Run it for real
Create a key and send your first request against the same models this tool prices: the model catalogue, the credit packages, and the quickstart.
Aether API — OpenAI-compatible access to 13+ providers through one API key.