FAQs
- How to know that the model is ready and able to make the second request to the API?
You can use API to retrieve the status of a generation task. The ‘success’ status means the task has been successfully completed, and the model is ready for download.
2. How much time does it usually take for a model to be ready?
Most tasks are completed in one minute, but it may take longer waiting in a queue during congestion. The task will initially be placed in a queue with a 'pending' status after creation, and then 'processing' once it's in front of the queue.
3. Does it also cost credits if a second call to the API is made before the first model is ready (i.e. Status pending or processing?
Yes, you can submit your task without waiting for the previous task to finish. The new task will be placed in a queue to be executed later. If the task is submitted successfully, it will consume your credits, but they will be refunded to your account if the task fails.