📄️ Create an App
This page covers how to create an app using the POST /app endpoint. An app encapsulates configuration details—like GPU IDs, model URLs, and workflow templates—that enable it to run AI tasks.
📄️ Retrieve and Update an App
Once your app is created, we need to scale the worker up to 1. To do so, we will pass to the active_workers field the value '1' with a PUT request to:
📄️ Start an Inference Job
Once you’ve created an app, you can run asynchronous jobs on it by sending a POST request to:
📄️ Retrieve a Job's Result
Once you have submitted a job asynchronously (e.g., via POST /app//run_async), you can retrieve its created_at, request, result and status by performing a GET request to:
📄️ Shutdown and Delete an App
When you want to stop an app (and pause the billing for that app), you want to call the update-app endpoint and set the active_workers to 0. You can do that by executing the following request
📄️ What's Next?
Congratulations! You’ve just walked through the essential steps of deploying Flux on RunGen.AI by: