submit_batch() when you have many variants to humanize — it chunks them into requests automatically and yields a Job per variant.
Submit a batch
Wait for all jobs in parallel
wait_for_all polls all jobs concurrently and returns results as they finish:
Process results in batches
If you have thousands of variants and want to avoid holding all jobs in memory, useiter_batches:
Full pipeline example
Each humanization costs 1 credit. A batch of 200 variants costs 200 credits.
Check your balance with
client.me.get() before submitting large batches.