Skip to main content

1. Set your credentials

2. Submit a task

Ask Gemini a question. taskType picks the engine; payload.prompt is what you ask.
The task is accepted and queued:
credits exists only so Cloro clients that read it keep working. Nothing is billed. On submit and poll it is always zero; the webhook reports a nominal per-engine figure mirroring Cloro’s pricing table.

3. Collect the result

4. Submit in bulk

POST /v1/async/task/batch takes a JSON array of the same task objects, up to 500 per request. You may mix engines freely within one batch.
Batch always returns 200 for a well-formed request. Individual failures surface as results[].success = false so one bad task never sinks the rest — see Batch submission.
Google-family engines (GOOGLE, AIMODE, NAVER_*) read payload.query. LLM engines read payload.prompt. Supplying either satisfies validation, but the engine only reads the one it expects.

Next steps

Pick an engine

Every taskType, what it returns, and how fast you may push it.

Handle failures

Error codes, status codes, and what is retryable.