# Make videos searchable with description, tags, and speech [View original](https://ittybit.com/guides/make-videos-searchable) ## Workflow ```json [ { "kind": "description" }, { "kind": "speech" }, { "kind": "prompt", "prompt": "Return a list of any locations visible or mentioned in this video. Use structured JSON: {"locations": []}. Prefer city and region names over specific addresses." } ] ``` *** ## Create Task ```ts const task = await ittybit.tasks.create({ url: "https://ittyb.it/sample.mp4", kind: "workflow", workflow: [ { kind: "description", }, { kind: "speech", }, { kind: "prompt", prompt: "Return a list of any locations visible or mentioned in this video. Use structured JSON: {"locations": []}. Prefer city and region names over specific addresses.", } ] }) ``` ```python task = ittybit.tasks.create({ url="https://ittyb.it/sample.mp4", kind="workflow", workflow=[ { kind="description", }, { kind="speech", }, { kind: "prompt", prompt: "Return a list of any locations visible or mentioned in this video. Use structured JSON: {"locations": []}. Prefer city and region names over specific addresses.", } ] }) ``` ```ruby task = ittybit.tasks.create({ url: "https://ittyb.it/sample.mp4", kind: "workflow", workflow: [ { kind: "description", }, { kind: "speech", }, { kind: "prompt", prompt: "Return a list of any locations visible or mentioned in this video. Use structured JSON: {"locations": []}. Prefer city and region names over specific addresses.", } ] }) ``` ```php $task = $ittybit->tasks->create([ 'url' => "https://ittyb.it/sample.mp4", 'kind' => "workflow", 'workflow' => [ { 'kind' => "description", }, { 'kind' => "speech", }, { 'kind' => "prompt", 'prompt' => "Return a list of any locations visible or mentioned in this video. Use structured JSON: {"locations": []}. Prefer city and region names over specific addresses.", } ] ]); ``` ```go task, err := ittybit.Tasks.Create( context.TODO(), &ittybit.TaskCreateParams{ Kind: "workflow", URL: "https://ittyb.it/sample.mp4", Workflow: []ittybit.Task{ { Kind: "description", }, { Kind: "speech", }, { Kind: "prompt", Prompt: "Return a list of any locations visible or mentioned in this video. Use structured JSON: {"locations": []}. Prefer city and region names over specific addresses.", } } }, ) ``` ```js const task = await fetch('https://api.ittybit.com/tasks', { method: 'POST', headers: { 'Authorization': `Bearer ${ITTYBIT_API_KEY}` }, body: JSON.stringify({ url: "https://ittyb.it/sample.mp4", kind: "workflow", workflow: [ { kind: "description", }, { kind: "speech", }, { kind: "prompt", prompt: "Return a list of any locations visible or mentioned in this video. Use structured JSON: {"locations": []}. Prefer city and region names over specific addresses.", } ] }) }) ```