Generate text
Send a prompt, stream the response back token by token. The core call behind chat, content, and agent features — anything text in your app.
… Your key is your OpenAI-compatible sandbox — text and vision inference, ready to build on. Paste it to start.
No key yet? Ask an organizer, or email hackathon@openinfer.io.
OpenInfer is your OpenAI-compatible sandbox — a distributed inference engine for text and vision. Run each call live below, copy the code, and ship something that moves the field forward.
Three calls — run each one live
Send a prompt, stream the response back token by token. The core call behind chat, content, and agent features — anything text in your app.
… Send an image and a question; get a description back. Build visual tools that empower anyone to create — not just designers.
… See which models your key can use. Build on @oi/beta.
… Copy the snippets, wire them into your app, and build AI that designs, creates, and inspires. Full reference is below.
Request fields — POST /v1/responses
@oi/beta.true for now — the server replies with Server-Sent Events.input_text / input_image parts).Streaming events (SSE)
response.createdresponse.in_progressresponse.output_text.delta — consume for live displayresponse.output_text.doneresponse.completed — the final objectGoing further — where a database helps
Persist turns and continue a stored response with previous_response_id.
Facts, summaries, and embeddings your agent recalls across sessions.
Users, API keys, and session tokens for your own app.
Cache generations and uploads so you never recompute a piece.
Per-user settings. Building on OpenClaw? Point it at OpenInfer and store its state in your DB.
Request and usage logs to debug and measure your hackathon project.