Import a GIF
import_gifImport one GIF or sticker from search_gifs into the open project as an animated image asset. Pass the gifId and the same query, kind and offset as that search. Returns an Asset ID; place it with patch_film like an image. It loops for as long as its clip lasts. Do not invent ids. It does not use credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | The same kind passed to search_gifs. | |
| gifId | Yes | gifId from search_gifs. | |
| query | Yes | The same query passed to search_gifs; null for a trending GIF. | |
| offset | Yes | The same offset passed to search_gifs. | |
| projectId | Yes | The project this call runs on without changing the open project. null (or leaving it out) uses the open project. wait_for_jobs takes the projectId of the calls that started the jobs. |