
RAINBRAND_API_KEY in your environment. All requests use https://www.rainbrand.com/api/v1.
1. Add a brand
data.id in place of the example Brand ID below. If you already have a brand, find its ID with List brands and continue here.
2. Wait until the brand is ready
data.status is still analyzing, repeat the read. Continue when it is ready and data.activeSkill is present.
If the status is failed, read data.failure for the cause before trying again. If an existing brand returns logo_required, complete its logo selection in Rainbrand before continuing.
3. Request a Brief
data.id in the next request.
4. Retrieve the guidance and assets
data.status is pending or processing. When it is completed, data.guidance contains the task’s brand guidance and data.assets contains the selected files. A failed Brief includes data.error with the reason and whether a new attempt may succeed.
Use the Brief
Use the completed Brief with your own agents, models, or renderer. To generate through the AI Gateway, get a model to check its input schema, then pass the Brief’s ID asbriefId:
Start a generation
Send the model input with the completed Brief.