Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ public static Command Create(string? commandName = null)
- Create highlights: ""create a 30-second highlight reel""
- Content editing: ""remove the section from 1:30 to 2:15""

### Default model and conversation mode

With `auto`, the default model and conversation mode may vary. Specify a
model and conversation mode explicitly when you need predictable behavior.

### Async Operations

Agent edits run in the background and return a `job_id`. Monitor progress via the [GET /jobs/{job_id}](#operation/getJob) endpoint.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ partial void ProcessAgentEditJobResponseContent(
/// - Remove filler words: "remove all filler words from the transcript"<br/>
/// - Create highlights: "create a 30-second highlight reel"<br/>
/// - Content editing: "remove the section from 1:30 to 2:15"<br/>
/// ### Default model and conversation mode<br/>
/// With `auto`, the default model and conversation mode may vary. Specify a<br/>
/// model and conversation mode explicitly when you need predictable behavior.<br/>
/// ### Async Operations<br/>
/// Agent edits run in the background and return a `job_id`. Monitor progress via the [GET /jobs/{job_id}](#operation/getJob) endpoint.<br/>
/// ### Dynamic webhook<br/>
Expand Down Expand Up @@ -90,6 +93,9 @@ partial void ProcessAgentEditJobResponseContent(
/// - Remove filler words: "remove all filler words from the transcript"<br/>
/// - Create highlights: "create a 30-second highlight reel"<br/>
/// - Content editing: "remove the section from 1:30 to 2:15"<br/>
/// ### Default model and conversation mode<br/>
/// With `auto`, the default model and conversation mode may vary. Specify a<br/>
/// model and conversation mode explicitly when you need predictable behavior.<br/>
/// ### Async Operations<br/>
/// Agent edits run in the background and return a `job_id`. Monitor progress via the [GET /jobs/{job_id}](#operation/getJob) endpoint.<br/>
/// ### Dynamic webhook<br/>
Expand Down Expand Up @@ -695,6 +701,9 @@ partial void ProcessAgentEditJobResponseContent(
/// - Remove filler words: "remove all filler words from the transcript"<br/>
/// - Create highlights: "create a 30-second highlight reel"<br/>
/// - Content editing: "remove the section from 1:30 to 2:15"<br/>
/// ### Default model and conversation mode<br/>
/// With `auto`, the default model and conversation mode may vary. Specify a<br/>
/// model and conversation mode explicitly when you need predictable behavior.<br/>
/// ### Async Operations<br/>
/// Agent edits run in the background and return a `job_id`. Monitor progress via the [GET /jobs/{job_id}](#operation/getJob) endpoint.<br/>
/// ### Dynamic webhook<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ public partial interface IApiEndpointsClient
/// - Remove filler words: "remove all filler words from the transcript"<br/>
/// - Create highlights: "create a 30-second highlight reel"<br/>
/// - Content editing: "remove the section from 1:30 to 2:15"<br/>
/// ### Default model and conversation mode<br/>
/// With `auto`, the default model and conversation mode may vary. Specify a<br/>
/// model and conversation mode explicitly when you need predictable behavior.<br/>
/// ### Async Operations<br/>
/// Agent edits run in the background and return a `job_id`. Monitor progress via the [GET /jobs/{job_id}](#operation/getJob) endpoint.<br/>
/// ### Dynamic webhook<br/>
Expand Down Expand Up @@ -43,6 +46,9 @@ public partial interface IApiEndpointsClient
/// - Remove filler words: "remove all filler words from the transcript"<br/>
/// - Create highlights: "create a 30-second highlight reel"<br/>
/// - Content editing: "remove the section from 1:30 to 2:15"<br/>
/// ### Default model and conversation mode<br/>
/// With `auto`, the default model and conversation mode may vary. Specify a<br/>
/// model and conversation mode explicitly when you need predictable behavior.<br/>
/// ### Async Operations<br/>
/// Agent edits run in the background and return a `job_id`. Monitor progress via the [GET /jobs/{job_id}](#operation/getJob) endpoint.<br/>
/// ### Dynamic webhook<br/>
Expand Down Expand Up @@ -70,6 +76,9 @@ public partial interface IApiEndpointsClient
/// - Remove filler words: "remove all filler words from the transcript"<br/>
/// - Create highlights: "create a 30-second highlight reel"<br/>
/// - Content editing: "remove the section from 1:30 to 2:15"<br/>
/// ### Default model and conversation mode<br/>
/// With `auto`, the default model and conversation mode may vary. Specify a<br/>
/// model and conversation mode explicitly when you need predictable behavior.<br/>
/// ### Async Operations<br/>
/// Agent edits run in the background and return a `job_id`. Monitor progress via the [GET /jobs/{job_id}](#operation/getJob) endpoint.<br/>
/// ### Dynamic webhook<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Order": 1,
"Title": "Agent edit",
"Slug": "agenteditjob",
"Description": "Use a background agent to create and edit projects using a natural language prompt.\n\n- **Edit existing project**: Provide a \u0060project_id\u0060 to edit an existing project\n- **Target a specific composition**: Provide both \u0060project_id\u0060 and \u0060composition_id\u0060 to direct the agent to a specific composition within the project\n- **Create new project**: Provide a \u0060project_name\u0060 instead of \u0060project_id\u0060 to create a new project\n\n### Common use cases\n- Create new content: \u0022create a 30-second video about cooking tips\u0022\n- Apply audio effects: \u0022add studio sound to every clip\u0022\n- Remove filler words: \u0022remove all filler words from the transcript\u0022\n- Create highlights: \u0022create a 30-second highlight reel\u0022\n- Content editing: \u0022remove the section from 1:30 to 2:15\u0022\n\n### Async Operations\n\nAgent edits run in the background and return a \u0060job_id\u0060. Monitor progress via the [GET /jobs/{job_id}](#operation/getJob) endpoint.\n\n### Dynamic webhook\n\nIf \u0060callback_url\u0060 is provided, Descript will POST the job status to that URL when the job completes or fails.\nThe payload will match the format returned by [GET /jobs/{job_id}](#operation/getJob).",
"Description": "Use a background agent to create and edit projects using a natural language prompt.\n\n- **Edit existing project**: Provide a \u0060project_id\u0060 to edit an existing project\n- **Target a specific composition**: Provide both \u0060project_id\u0060 and \u0060composition_id\u0060 to direct the agent to a specific composition within the project\n- **Create new project**: Provide a \u0060project_name\u0060 instead of \u0060project_id\u0060 to create a new project\n\n### Common use cases\n- Create new content: \u0022create a 30-second video about cooking tips\u0022\n- Apply audio effects: \u0022add studio sound to every clip\u0022\n- Remove filler words: \u0022remove all filler words from the transcript\u0022\n- Create highlights: \u0022create a 30-second highlight reel\u0022\n- Content editing: \u0022remove the section from 1:30 to 2:15\u0022\n\n### Default model and conversation mode\n\nWith \u0060auto\u0060, the default model and conversation mode may vary. Specify a\nmodel and conversation mode explicitly when you need predictable behavior.\n\n### Async Operations\n\nAgent edits run in the background and return a \u0060job_id\u0060. Monitor progress via the [GET /jobs/{job_id}](#operation/getJob) endpoint.\n\n### Dynamic webhook\n\nIf \u0060callback_url\u0060 is provided, Descript will POST the job status to that URL when the job completes or fails.\nThe payload will match the format returned by [GET /jobs/{job_id}](#operation/getJob).",
"Language": "csharp",
"Code": "using var client = new DescriptClient(apiKey);\n\nvar request = global::System.Text.Json.JsonSerializer.Deserialize\u003Cglobal::Descript.AgentEditJobRequest\u003E(\n @\u0022{\n \u0022\u0022project_id\u0022\u0022: \u0022\u00229f36ee32-5a2c-47e7-b1a3-94991d3e3ddb\u0022\u0022,\n \u0022\u0022model\u0022\u0022: \u0022\u0022claude-haiku-5.5\u0022\u0022,\n \u0022\u0022prompt\u0022\u0022: \u0022\u0022add studio sound to every clip\u0022\u0022\n}\u0022)!;\n\nvar response = await client.ApiEndpoints.AgentEditJobAsync(\n request: request\n);",
"Format": "sdk",
Expand Down
5 changes: 5 additions & 0 deletions src/libs/Descript/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -988,6 +988,11 @@ paths:
- Create highlights: "create a 30-second highlight reel"
- Content editing: "remove the section from 1:30 to 2:15"

### Default model and conversation mode

With `auto`, the default model and conversation mode may vary. Specify a
model and conversation mode explicitly when you need predictable behavior.

### Async Operations

Agent edits run in the background and return a `job_id`. Monitor progress via the [GET /jobs/{job_id}](#operation/getJob) endpoint.
Expand Down
Loading