Actions50
- Health Actions
- Project Actions
- Score Actions
- Characters Actions
- Environments Actions
- Scenes Actions
- Visuals Actions
- Visual Voiceover Actions
- Visual Image Actions
- Visual Video Actions
- Visual Sound Actions
- Video Actions
Environments → Create Environment
AI-generatedSummary
Create an environment in AdBlast.
Inputs
- authenticationMethod (required) — Select how to authenticate: either using saved credentials or a dynamic API key.
- url (required) — The base URL for the AdBlast API (required if using a dynamic API key).
- apiKey (required) — Your AdBlast API key, can be provided dynamically using expressions (required if using a dynamic API key).
- project_id (required) — The ID of the project associated with the environment.
- id (required) — A unique valid UUID for the environment.
- name (required) — The name of the environment.
- prompt (required) — The description prompt for the environment.
- requestOptions — Additional request options for the environment creation.
Output shape
no body — success/failure only
The operation confirms creation success or failure without returning any data.
Examples
Example 1: Creating an environment using predefined credentials.
Set 'authenticationMethod' to 'credentials', provide 'project_id', 'id', 'name', and 'prompt'.
Example 2: Creating an environment with a dynamic API key.
Set 'authenticationMethod' to 'dynamic', provide 'url' and 'apiKey', along with 'project_id', 'id', 'name', and 'prompt'.