← Back to Oppermind Academy

✦ Course · Beginner

Oppermind Developer API quickstart

Create a scoped API key, make your first Lato text request, read usage metadata, and handle failures safely from a backend.

7 lessons45 min Self-paced
Start course

YOUR OUTCOME

You will make a secure server-side API call and turn the response into a reliable application path.

Keep keys on the server Use the versioned v1 contract Build for retries, limits, and stable errors
01

Understand the API contract

Use the stable https://oppermind.com/api/v1 base, public Lato model identifiers, and modality-specific endpoints.

5 min
02

Create a least-privilege key

Create an opmd_sk_ key in the Developer console, choose only the permissions needed, copy it once, and store it in a server secret.

6 min
03

Send your first text request

POST messages to /api/v1/messages with oppermind-lato-1, a bounded max_tokens value, and stream set to false or omitted.

8 min
04

Read the response and usage

Extract text content, capture the request ID, inspect normalized model metadata, and record input and output token usage.

6 min
05

Generate an image

POST a prompt to /api/v1/images and choose a URL or base64 response according to your storage and delivery path.

6 min
06

Generate a video

POST to /api/v1/videos with a generous client timeout; generation is synchronous and returns the finished authenticated proxy URL.

7 min
07

Handle the unhappy paths

Use idempotency keys, RateLimit headers, stable error codes, safe retries, billing checks, and structured logging.

7 min

Make the learning stick

Start with one real piece of work.

Open Oppermind beside the lesson, apply each step, and leave with something you can use.

Open the quickstart docs