| Title: | Turn Text into Animated GIFs with 'AI GIF Maker' |
|---|---|
| Description: | Official SDK for 'AI GIF Maker' <https://aigifmaker.ai>: turn text into animated GIFs. Native GIF generation, no video conversion. Send a prompt with your 'AI GIF Maker' API key, wait for the GIF URL, and check your remaining credits. |
| Authors: | AI GIF Maker [aut, cre] |
| Maintainer: | AI GIF Maker <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.1.0 |
| Built: | 2026-11-10 15:34:38 UTC |
| Source: | https://github.com/hanshs474/aigifmaker-r |
Submits one GIF on AI GIF Maker (https://aigifmaker.ai), waits for it and returns its URL.
Each GIF costs 1 credit on your AI GIF Maker account, the same as on the website.
Failures signal a condition of class aigifmaker_auth, aigifmaker_quota,
aigifmaker_rejected, aigifmaker_failed, aigifmaker_timeout or aigifmaker_other.
aigifmaker_generate(prompt, api_key = NULL, poll_seconds = 3, timeout_seconds = 900, post = aigifmaker_post)aigifmaker_generate(prompt, api_key = NULL, poll_seconds = 3, timeout_seconds = 900, post = aigifmaker_post)
prompt |
What the GIF should show. |
api_key |
Key from https://aigifmaker.ai/settings/apikeys; defaults to the AIGIFMAKER_API_KEY environment variable. |
poll_seconds |
How often the task is polled. |
timeout_seconds |
Deadline for the whole call. |
post |
The HTTP function; replaceable in tests. |
The URL of the finished GIF.
## Not run: aigifmaker_generate("a corgi in sunglasses dancing on a beach, looping") ## End(Not run)## Not run: aigifmaker_generate("a corgi in sunglasses dancing on a beach, looping") ## End(Not run)
Lower-level calls for submitting now and collecting later.
aigifmaker_submit(prompt, api_key = NULL, post = aigifmaker_post) aigifmaker_status(id, api_key = NULL, post = aigifmaker_post) aigifmaker_wait(id, api_key = NULL, poll_seconds = 3, timeout_seconds = 900, post = aigifmaker_post) aigifmaker_credits(api_key = NULL, post = aigifmaker_post)aigifmaker_submit(prompt, api_key = NULL, post = aigifmaker_post) aigifmaker_status(id, api_key = NULL, post = aigifmaker_post) aigifmaker_wait(id, api_key = NULL, poll_seconds = 3, timeout_seconds = 900, post = aigifmaker_post) aigifmaker_credits(api_key = NULL, post = aigifmaker_post)
prompt |
What the GIF should show. |
id |
The task id returned by |
api_key |
Key from https://aigifmaker.ai/settings/apikeys; defaults to AIGIFMAKER_API_KEY. |
poll_seconds |
How often the task is polled. |
timeout_seconds |
Deadline for the wait. |
post |
The HTTP function; replaceable in tests. |
aigifmaker_submit: the task id. aigifmaker_status: a list with id, status
("pending", "processing", "success" or "failed"), images and, while queued, queued.
aigifmaker_wait: the GIF URL. aigifmaker_credits: remaining credits as an integer (free to call).
## Not run: id <- aigifmaker_submit("happy birthday text bouncing in rainbow letters") aigifmaker_status(id)$status aigifmaker_wait(id) aigifmaker_credits() ## End(Not run)## Not run: id <- aigifmaker_submit("happy birthday text bouncing in rainbow letters") aigifmaker_status(id)$status aigifmaker_wait(id) aigifmaker_credits() ## End(Not run)