Generate a Studio artifact
notebook_generate_artifactGenerate an Audio Overview (podcast), Video Overview, report, interactive report, data table, quiz, flashcards, infographic, slide deck or mind map from a notebook's sources, as a job. One-shot: without notebook, a new notebook is made from urls and/or text. Waits up to ~50 s, then returns the jobid: continue with notebook_get_job (wait: true); once completed you get the artifact id, files with download urls, text or JSON. Spends the account's Google usage and takes a maxJobs slot. Options apply per type (see each option). POST /artifacts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | One-shot only: pasted text source. | |
| type | Yes | What to generate. | |
| urls | No | One-shot only: 1-50 URLs to build the notebook from. | |
| No | One-shot only: the account to run on. Default: one with a free slot and usage left. | ||
| style | No | video: custom | auto | classic | whiteboard | heritage | paper_craft | watercolor | anime | retro_print | kawaii (custom = stylePrompt); infographic: auto | sketch_note | professional | bento_grid | editorial | instructional | bricks | clay | anime | kawaii | scientific. | |
| title | No | One-shot only: the new notebook's title. | |
| detail | No | infographic. | |
| format | No | audio: deep_dive | brief | critique | debate; video: explainer | brief | cinematic | short; report: briefing | study_guide | blog_post | custom (custom = instructions as the prompt); slides: detailed | presenter. | |
| length | No | audio: short | default | long; slides: short | default | long. | |
| sources | No | With notebook: only these source ids. Default: every ready source. | |
| language | No | Output language, e.g. en, es, de (audio, video, report, interactive_report, table, infographic, slides; for suggested items also quiz, flashcards, mindmap). Default: the account's output language. | |
| notebook | No | Notebook id. Omit for a one-shot from urls / text. | |
| quantity | No | quiz, flashcards: how many. | |
| replyRef | No | Optional reference echoed back in the job record. | |
| difficulty | No | quiz, flashcards. | |
| orientation | No | infographic. | |
| stylePrompt | No | video with style custom: the visual style in words. | |
| instructions | No | What to focus on, in your own words (every type). | |
| deleteNotebook | No | One-shot only: delete the notebook when the job ends (report, interactive_report, table, quiz, flashcards, mindmap). |