API keys are currently in beta. If you’d like to use the SDK, please reach out to the devs on Discord.
Get API credentials
To get an API key, please message one of the devs in the Discord and ask for one.Installation
Make a creation
A full list of generators and their config parameters can be found in the creation tool. All requests to Eden go through theEdenClient class. To make a task request, target a specific generator (e.g. “create”) with a configuration object. For example:
Manual task polling
Alternatively, you can create a task and poll for the result manually:tasks.create method is asynchronous and will immediately return a taskResult object with an ID for that task (or an error message). If you want to wait for the task to complete, you can poll the task until it is done:
Hello Eden
Example React App
An example React app which shows how to authenticate with the Eden SDK and make creations in a boilerplate NextJS web application

