Add generation card
add_generation_cardAdd a draft generation card to a board: a prompt and a model (an id from list_models) that can be rendered later with run_generation_card. Adding it costs nothing; nothing renders until it is run with a quote. Set duration and resolution on the card for a per-second model: the quote for run_generation_card must be taken with them. For a step that builds on an earlier card (a still that becomes a video), pass from_card_id: the new card is connected to that card on the board and, unless it has its own image_url, starts from that card's finished image. SIGN-IN REQUIRED: connect this server with OAuth (the host prompts for it), or add an API key header "Authorization: Bearer acd_live_…" created at https://aicontentdrop.com/settings/integrations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Defaults to video. | |
| model | No | A model id from list_models. | |
| width | No | Optional card width in pixels. | |
| height | No | Optional card height in pixels. | |
| prompt | No | The generation prompt, up to 4000 characters. | |
| duration | No | Optional clip length in seconds, for video models that price by duration. | |
| position | No | Optional { x, y } in board pixels. When omitted the server places the card in the first free grid cell. | |
| revision | No | The board revision this change is based on (from the last board you saw). Optional: when omitted the tool reads the current one first. | |
| canvas_id | Yes | The board id, from list_canvases or create_canvas. | |
| image_url | No | Optional public https reference image for image-to-video or image-to-image. | |
| resolution | No | Optional, e.g. 720p, 1080p. | |
| aspect_ratio | No | Optional, e.g. 9:16, 16:9, 1:1. | |
| from_card_id | No | Optional: an image generation card or an image media card on the same board. The new card is connected to it, and its finished image is the new card's start frame when the new card runs (run the source card first). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes | ||
| edge | No | The connection from from_card_id, when one was given. | |
| canvas | Yes | ||
| next_step | Yes |