Colossyan API
  • Welcome
  • Getting Started
    • Quickstart
    • Extracting request bodies from the web-editor
  • Basics
    • Authentication
    • Endpoints
    • Video Generation
      • Generating using a template
      • Generating a video manually
      • Receiving a generated video
    • Using template variables
      • Script template variables
      • Text template variables
    • Generated videos
      • Retrieve a video
      • Delete a video
    • Video generation job
      • Retrieve video generation job
      • Delete video generation job
    • Assets
      • Actors
      • Voices
  • Advanced
    • Advanced use-cases
    • Timing
  • Experimental
    • Knowledge to draft
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Experimental

Knowledge to draft

PreviousTiming

Last updated 4 months ago

Was this helpful?

Experimental endpoints are not yet finalised. They can change at any point, without notice. To reflect this, these endpoints are not available on the /v1/ endpoint (See more here: Endpoints)

Generate a draft

post

Generates and creates a draft using structured textual data.

Authorizations
Body
templateIdstring | nullableOptional

The ID of the template to use. If not provided, the system will randomly select one.

Responses
200
Draft generated and created successfully
application/json
400
Bad Request. Invalid input data.
401
Unauthorized. Authentication required.
500
Internal server error.
post
POST /api/knowledge-to-draft/generate-draft HTTP/1.1
Host: app.colossyan.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 136

{
  "summary": {
    "title": "text",
    "description": "text",
    "chapters": [
      {
        "title": "text",
        "script": "text",
        "searchTerms": "text"
      }
    ]
  },
  "templateId": "text"
}
{
  "url": "text"
}