Cosmic agent, AI, and webhook API
API by Cosmic · rest
These operations are not served by https://api.cosmicjs.com. Content reads and writes stay in https://www.cosmicjs.com/openapi.json. Agent signup, verify, and status are on https://dapi.cosmicjs.com. AI generation is on https://workers.cosmicjs.com and requires the Bucket write key. Generated images, video, and audio are stored in the Bucket media library. Webhooks are configured in the dashboard (Bucket Settings > Webhooks), not created through this API. Cosmic then POSTs the payload described under webhooks to the URL you set.
Endpoint: https://dapi.cosmicjs.com/v3
Verification: observed. Source: crawl.
Capabilities (7)
- Create an unclaimed project and bucket
- Read signup status and recover keys
- Verify the emailed code
- Generate speech into the media library
- Generate an image into the media library
- Generate text
- Generate a video into the media library