A first-day checklist
2026-05-06 · Using the API
Health, one sample, one real image, one reliable submit, one look at the balance.
Call /health and expect ok. Create a key. Run the curl from the quickstart against a sample. Then run it against one image from the portal you care about.
If reliable is true, submit that text once. If the portal accepts it, log the id and stop. If reliable is false, refresh and try one more image, not the same image.
Look at X-Credits-Remaining and at the dashboard. The numbers should move by one for that reliable answer.
Only then add a loop, a batch, or a queue. A loop on a broken crop spends the signup bonus and teaches you nothing.
Ready to call it? Start with the quickstart, the API guide, or pricing.