Text Completion
Send a conversation and receive an AI-generated reply. Works with any model — free and paid.
python
Replace
YOUR_API_KEY and CraftX gpt oss 120b with values from your dashboard. Create a free account to get your key — then find model names on the Models page.
Vision / Image Input
Send images alongside text via URL or base64. Requires a vision-capable model.
python
Vision models accept image URLs (
https://...) or base64 data URIs (data:image/jpeg;base64,...). Qwen3 VL 30B (Qwen3 VL 30B) is available for advanced vision tasks. Check the Models page for the full list.
Streaming (SSE)
Receive tokens in real time. Add "stream": true to any request.
python
Billing is settled after the stream ends using actual token counts from the final chunk. Your wallet is never pre-debited during streaming.