{"id":28452797,"url":"https://github.com/wagtail/wagtail-ai","last_synced_at":"2025-06-27T23:31:09.522Z","repository":{"id":116976789,"uuid":"609226664","full_name":"wagtail/wagtail-ai","owner":"wagtail","description":"Get help with your Wagtail content using AI superpowers. ","archived":false,"fork":false,"pushed_at":"2024-11-18T16:12:29.000Z","size":391,"stargazers_count":159,"open_issues_count":32,"forks_count":23,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-06-27T00:25:05.228Z","etag":null,"topics":["ai","django","wagtail"],"latest_commit_sha":null,"homepage":"https://wagtail-ai.readthedocs.io/latest","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wagtail.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-03T16:33:49.000Z","updated_at":"2025-06-23T21:25:26.000Z","dependencies_parsed_at":"2023-11-22T13:39:50.927Z","dependency_job_id":"0e3ab4ac-4d27-431c-816a-b5fc74826fd6","html_url":"https://github.com/wagtail/wagtail-ai","commit_stats":null,"previous_names":["tomusher/wagtail-ai"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/wagtail/wagtail-ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wagtail%2Fwagtail-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wagtail%2Fwagtail-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wagtail%2Fwagtail-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wagtail%2Fwagtail-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wagtail","download_url":"https://codeload.github.com/wagtail/wagtail-ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wagtail%2Fwagtail-ai/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262169993,"owners_count":23269599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","django","wagtail"],"created_at":"2025-06-06T18:12:54.856Z","updated_at":"2025-06-27T23:31:09.477Z","avatar_url":"https://github.com/wagtail.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![wagtail-ai](https://user-images.githubusercontent.com/27112/223072917-8354f8f2-b687-44dd-9db7-33f2cc340233.png)\n\n# Wagtail AI\n\nGet help with your content using AI superpowers.\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![PyPI version](https://badge.fury.io/py/wagtail-ai.svg)](https://badge.fury.io/py/wagtail-ai)\n[![ai CI](https://github.com/wagtail/wagtail-ai/actions/workflows/test.yml/badge.svg)](https://github.com/wagtail/wagtail-ai/actions/workflows/test.yml)\n\nWagtail AI integrates Wagtail with AI's APIs (think ChatGPT) to help you write and correct your content.\n\nRight now, it can:\n\n* Finish what you've started - write some text and tell Wagtail AI to finish it off for you\n* Correct your spelling/grammar\n* Let you add your own custom prompts\n* Automatically generate alt-tags for your uploaded images\n* Work with multiple LLM providers including local models, OpenAI, Mistral, Claude and many others\n\n## Demos\n\n### Rich-text integration\n\nhttps://user-images.githubusercontent.com/27112/223072938-8cb5ccff-4835-489a-8be4-cca85001885e.mp4\n\n### Alt-text generation\n\nhttps://github.com/wagtail/wagtail-ai/assets/27617/5ffd5493-b39c-4d38-bed8-fdd243920eb5\n\n## Requirements \u0026 Costs\n\nWagtail AI supports [many different LLMs](https://wagtail-ai.readthedocs.io/latest/ai-backends/), with OpenAI models\navailable by default. To use these, you'll need an OpenAI account and an API key. There'll also be some cost involved.\n\nFor the OpenAI API used here (`gpt-3.5-turbo`), the [cost](https://openai.com/pricing) is\n\n- $0.0005 per 1000 tokens for input tokens (prompt)\n- $0.0015 per 1000 tokens for output tokens (answer)\n\nHere is an estimated cost breakdown for the `correction` prompt on a 1000-word paragraph.\n\n### We assume that:\n\n- Prompt is 30 words and the existing paragraph is 1000 words (Input)\n- Each word is 1.3 tokens (Tokens multiplier)\n- We get back 1000 words back (Output)\n\n### Then:\n\n- **Input tokens :** (35 + 1000) x 1.3 = 1345.5 tokens.\n- **Output tokens :** 1000 x 1.3 = 1300\n- **Input tokens cost :** 1345.5 / 1000 * $0.0005 = $0.00067275\n- **Output tokens cost :** 1300 / 1000 * $0.0015 = $0.00195\n- **Total cost :** $0.00262275\n\n## Links\n\n- [Documentation](https://wagtail-ai.readthedocs.io/)\n- [Changelog](https://github.com/wagtail/wagtail-ai/blob/main/CHANGELOG.md)\n- [Contributing](https://wagtail-ai.readthedocs.io/latest/contributing/)\n- [Discussions](https://github.com/wagtail/wagtail-ai/discussions)\n- [Security](https://github.com/wagtail/wagtail-ai/security)\n\n## Supported Versions\n\n* Wagtail 5.2\n* Django 4.2\n* Python 3.11\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwagtail%2Fwagtail-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwagtail%2Fwagtail-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwagtail%2Fwagtail-ai/lists"}