ConfigurePremium
AI Writer settings in CoullWorks Blog for Magento 2
Provider keys, models, the price table, the monthly spend cap, bulk queue limits, retention, voice notes and the AI disclosure line.
Updated 17 November 2026Back to the package pageBuy
The AI Writer uses your own provider keys, so the provider bills you directly. This group holds the keys, the models and prices, the monthly spend cap, the bulk queue limits, the retention period, your store's voice notes and the AI disclosure line. For how to write a post with it, see Write posts with the AI writer.
Before anything runs, make sure cron is running, or the queue consumer is started with bin/magento queue:consumers:start coullworksBlogAiStep. Long steps never run in a web request: they go on Magento's database queue and wait for the consumer. If a step waits more than 10 minutes the admin shows the notice on System messages.
AI Writer group#

The whole AI Writer group on a fresh install, top to bottom: three provider sub-groups, then the settings that apply to all of them. No key is set, so the three API Key fields are empty.
Anthropic (Claude)#

The Anthropic (Claude) sub-group on a fresh install. Anthropic writes text only in this module.
Anthropic: API Key#

The Anthropic: API Key field as it opens on a fresh install: empty, with the help line that the key is stored encrypted.
- Where it is: Stores, Configuration, CoullWorks, Blog, AI Writer, Anthropic (Claude). Setting path
coullworks_blog/ai/anthropic/api_key. - Scope: Default, website and store view.
- Type: Obscured text.
- Default: empty.
- Allowed values and checks: Any text. Stored encrypted. After saving, the field shows dots and never the key again; to change it, type a new one. Clear it and save to remove the key.
- What it changes: The key the AI Writer sends to this provider. A provider with no key is not offered in the AI Writer. You can set a different key for a website or store view, so each store can be billed to its own account. The key is never sent to the browser. Anthropic researches and writes.
Anthropic: Text Models#

The Anthropic: Text Models field as it opens on a fresh install: claude-opus-5-5, claude-sonnet-5-5 and a Haiku id, with a help line about adding new models.
- Where it is: Stores, Configuration, CoullWorks, Blog, AI Writer, Anthropic (Claude). Setting path
coullworks_blog/ai/anthropic/models. - Scope: Default only (the admin shows it as global).
- Type: Text.
- Default:
claude-opus-5-5,claude-sonnet-5-5,claude-haiku-5-5. - Allowed values and checks: Model ids separated by commas, no spaces needed. Use the id exactly as Anthropic publishes it.
- What it changes: The models offered in the AI Writer for Anthropic. When Anthropic releases a model, add its id here: no module update is needed. A model with no entry in the Price Table is costed with the table's
defaultprices.
Anthropic: Default Text Model#

The Anthropic: Default Text Model field as it opens on a fresh install: claude-opus-5-5.
- Where it is: Stores, Configuration, CoullWorks, Blog, AI Writer, Anthropic (Claude). Setting path
coullworks_blog/ai/anthropic/default_model. - Scope: Default only (the admin shows it as global).
- Type: Text.
- Default:
claude-opus-5-5. - Allowed values and checks: One model id. If it is empty, the first id in Text Models is used.
- What it changes: The Anthropic model chosen first in the AI Writer, and the model the bulk queue uses when Anthropic is the bulk provider.
OpenAI#

The OpenAI sub-group on a fresh install. OpenAI writes text and draws images.
OpenAI: API Key#

The OpenAI: API Key field as it opens on a fresh install: empty, with the help line that the key is stored encrypted.
- Where it is: Stores, Configuration, CoullWorks, Blog, AI Writer, OpenAI. Setting path
coullworks_blog/ai/openai/api_key. - Scope: Default, website and store view.
- Type: Obscured text.
- Default: empty.
- Allowed values and checks: Any text. Stored encrypted. After saving, the field shows dots and never the key again; to change it, type a new one. Clear it and save to remove the key.
- What it changes: The key the AI Writer sends to this provider. A provider with no key is not offered in the AI Writer. You can set a different key for a website or store view, so each store can be billed to its own account. The key is never sent to the browser. OpenAI researches, writes and draws pictures.
OpenAI: Text Models#

The OpenAI: Text Models field as it opens on a fresh install: gpt-6.1-sol, gpt-6-astra and gpt-6-luna.
- Where it is: Stores, Configuration, CoullWorks, Blog, AI Writer, OpenAI. Setting path
coullworks_blog/ai/openai/models. - Scope: Default only (the admin shows it as global).
- Type: Text.
- Default:
gpt-6.1-sol,gpt-6-astra,gpt-6-luna. - Allowed values and checks: Model ids separated by commas.
- What it changes: The OpenAI text models offered in the AI Writer. Add a new id here when OpenAI releases one.
OpenAI: Default Text Model#

The OpenAI: Default Text Model field as it opens on a fresh install: gpt-6.1-sol.
- Where it is: Stores, Configuration, CoullWorks, Blog, AI Writer, OpenAI. Setting path
coullworks_blog/ai/openai/default_model. - Scope: Default only (the admin shows it as global).
- Type: Text.
- Default:
gpt-6.1-sol. - Allowed values and checks: One model id. If it is empty, the first id in Text Models is used.
- What it changes: The OpenAI model chosen first in the AI Writer, and the one the bulk queue uses when OpenAI is the bulk provider.
OpenAI: Image Models#

The OpenAI: Image Models field as it opens on a fresh install: gpt-image-2.5-flare and gpt-image-2.5-sunburst.
- Where it is: Stores, Configuration, CoullWorks, Blog, AI Writer, OpenAI. Setting path
coullworks_blog/ai/openai/image_models. - Scope: Default only (the admin shows it as global).
- Type: Text.
- Default:
gpt-image-2.5-flare,gpt-image-2.5-sunburst. - Allowed values and checks: Image model ids separated by commas.
- What it changes: The models offered for the Images step when OpenAI draws the picture.
OpenAI: Default Image Model#

The OpenAI: Default Image Model field as it opens on a fresh install: gpt-image-2.5-flare.
- Where it is: Stores, Configuration, CoullWorks, Blog, AI Writer, OpenAI. Setting path
coullworks_blog/ai/openai/default_image_model. - Scope: Default only (the admin shows it as global).
- Type: Text.
- Default:
gpt-image-2.5-flare. - Allowed values and checks: One image model id. If it is empty, the first id in Image Models is used.
- What it changes: The image model chosen first when OpenAI draws the picture.
Google Gemini (images)#

The Google Gemini (images) sub-group on a fresh install. Gemini draws images only in this module.
Gemini: API Key#

The Gemini: API Key field as it opens on a fresh install: empty, with the help line that the key is stored encrypted.
- Where it is: Stores, Configuration, CoullWorks, Blog, AI Writer, Google Gemini (images). Setting path
coullworks_blog/ai/gemini/api_key. - Scope: Default, website and store view.
- Type: Obscured text.
- Default: empty.
- Allowed values and checks: Any text. Stored encrypted. After saving, the field shows dots and never the key again; to change it, type a new one. Clear it and save to remove the key.
- What it changes: The key the AI Writer sends to this provider. A provider with no key is not offered in the AI Writer. You can set a different key for a website or store view, so each store can be billed to its own account. The key is never sent to the browser. Gemini draws pictures only.
Gemini: Image Models#

The Gemini: Image Models field as it opens on a fresh install: gemini-3-pro-image.
- Where it is: Stores, Configuration, CoullWorks, Blog, AI Writer, Google Gemini (images). Setting path
coullworks_blog/ai/gemini/image_models. - Scope: Default only (the admin shows it as global).
- Type: Text.
- Default:
gemini-3-pro-image. - Allowed values and checks: Image model ids separated by commas.
- What it changes: The models offered for the Images step when Gemini draws the picture.
Gemini: Default Image Model#

The Gemini: Default Image Model field as it opens on a fresh install: gemini-3-pro-image.
- Where it is: Stores, Configuration, CoullWorks, Blog, AI Writer, Google Gemini (images). Setting path
coullworks_blog/ai/gemini/default_image_model. - Scope: Default only (the admin shows it as global).
- Type: Text.
- Default:
gemini-3-pro-image. - Allowed values and checks: One image model id. If it is empty, the first id in Image Models is used.
- What it changes: The image model chosen first when Gemini draws the picture.
Spend, queue and retention#
These fields apply to the whole AI Writer, whichever provider is used.
Provider for Bulk Writing#

The Provider for Bulk Writing field as it opens on a fresh install: Anthropic (Claude), with the help line about the queue.
- Where it is: Stores, Configuration, CoullWorks, Blog, AI Writer. Setting path
coullworks_blog/ai/default_provider. - Scope: Default only (the admin shows it as global).
- Type: Drop-down.
- Default: Anthropic (Claude).
- Allowed values and checks: Anthropic (Claude) or OpenAI. Gemini is not listed because it draws images only.
- What it changes: The provider the bulk queue uses to write drafts, with that provider's default text model. Choose a provider that has a key.
Monthly Spend Cap#

The Monthly Spend Cap field as it opens on a fresh install: 20, with the help line that a run past the cap is refused.
- Where it is: Stores, Configuration, CoullWorks, Blog, AI Writer. Setting path
coullworks_blog/ai/monthly_cap. - Scope: Default, website and store view.
- Type: Text field that takes a number.
- Default: 20.
- Allowed values and checks: A number, zero or greater (decimals allowed). Empty means no limit. Use the currency of your Price Table.
- What it changes: Before every provider call the module adds up this month's estimated cost for the store. A run that would take it past the cap is refused before the provider is called, and the bulk queue stops at the cap. Costs are estimates worked out from your Price Table, not an invoice, so keep the cap a little under what you can afford.
Largest Answer per Step (tokens)#

The Largest Answer per Step (tokens) field as it opens on a fresh install: 16000, with the help line about the cap check.
- Where it is: Stores, Configuration, CoullWorks, Blog, AI Writer. Setting path
coullworks_blog/ai/max_tokens_per_run. - Scope: Default only (the admin shows it as global).
- Type: Text field that takes a whole number.
- Default: 16000.
- Allowed values and checks: Digits only and greater than zero. A stored value that is not a positive number falls back to 16000.
- What it changes: The most tokens a provider may return for one step. It is also the most one step can cost, because the cap check assumes all of it is used. A lower number makes the cap check less cautious but can cut a long answer short.
Bulk Queue Concurrency#

The Bulk Queue Concurrency field as it opens on a fresh install: 1, with the help line about how many briefs one cron run starts.
- Where it is: Stores, Configuration, CoullWorks, Blog, AI Writer. Setting path
coullworks_blog/ai/concurrency. - Scope: Default only (the admin shows it as global).
- Type: Text field that takes a whole number.
- Default: 1.
- Allowed values and checks: Digits only and greater than zero (a value below 1 counts as 1).
- What it changes: The most queued briefs that run at the same time. The queue cron job runs every 5 minutes and starts briefs up to this number, so with 1 the queue writes one draft at a time.
Bulk Queue Attempts#

The Bulk Queue Attempts field as it opens on a fresh install: 3.
- Where it is: Stores, Configuration, CoullWorks, Blog, AI Writer. Setting path
coullworks_blog/ai/queue_max_attempts. - Scope: Default only (the admin shows it as global).
- Type: Text field that takes a whole number.
- Default: 3.
- Allowed values and checks: Digits only and greater than zero. A stored value that is not a positive number falls back to 3.
- What it changes: How many times the queue tries a brief before it marks it failed. After a failed try the brief goes back in the queue and waits 15 minutes times the number of tries so far. The last error is kept on the queue item.
Keep Generated Text (days)#

The Keep Generated Text (days) field as it opens on a fresh install: 365, with the help line about what stays.
- Where it is: Stores, Configuration, CoullWorks, Blog, AI Writer. Setting path
coullworks_blog/ai/retention_days. - Scope: Default only (the admin shows it as global).
- Type: Text field that takes a whole number.
- Default: 365.
- Allowed values and checks: Digits only and greater than zero. A stored value that is not a positive number falls back to 365.
- What it changes: A daily cron job (03:30) clears generated text older than this. The run, its sources and claims, and its tokens and cost stay.
Voice and disclosure#
Store Voice Notes#

The Store Voice Notes field as it opens on a fresh install: empty, with the help line about spelling, tone and what the store sells.
- Where it is: Stores, Configuration, CoullWorks, Blog, AI Writer. Setting path
coullworks_blog/ai/voice_notes. - Scope: Default, website and store view.
- Type: Text area.
- Default: empty.
- Allowed values and checks: Free text.
- What it changes: Your spelling, tone, what the store sells and what it never says. It is added to every writing prompt after the module's own writing rules. Set it per store view when stores speak differently.
Show an AI Disclosure on AI-assisted Posts#

The Show an AI Disclosure on AI-assisted Posts field as it opens on a fresh install: No, with the help line pointing at EU AI Act Article 50 and saying it is not legal advice.
- Where it is: Stores, Configuration, CoullWorks, Blog, AI Writer. Setting path
coullworks_blog/ai/disclosure_enabled. - Scope: Default, website and store view.
- Type: Drop-down (Yes or No).
- Default: No.
- Allowed values and checks: Yes or No.
- What it changes: With Yes, a post made or refreshed with the AI Writer shows the disclosure line on the article. A post can override this: its own Show AI Disclosure setting wins over this field. Posts not made with the AI Writer never show the line. Whether you must disclose, and how, depends on your market and use (for example EU AI Act Article 50). This is not legal advice.
Disclosure Line#

The Disclosure Line field as it opens on a fresh install: the default sentence.
- Where it is: Stores, Configuration, CoullWorks, Blog, AI Writer. Setting path
coullworks_blog/ai/disclosure_text. - Scope: Default, website and store view.
- Type: Text area.
- Default: This article was written with the help of AI and checked by our team..
- Allowed values and checks: Free text. Shown only when the disclosure switch above is Yes. If it is emptied, the default sentence is used.
- What it changes: The sentence shown under the article when the disclosure is on.
The field appears only when the disclosure switch is Yes, so the shot was taken with it on.
Price Table#

The Price Table field as it opens on a fresh install: the start of the JSON table, which is longer than the box.
- Where it is: Stores, Configuration, CoullWorks, Blog, AI Writer. Setting path
coullworks_blog/ai/pricing. - Scope: Default only (the admin shows it as global).
- Type: Text area holding JSON.
- Default: the table below.
- Allowed values and checks: Valid JSON: one entry per model id, with
inandout(price per million tokens) for text models orimage(price per picture) for image models. The keydefaultprices any model not listed. If the JSON is broken, no model has a price and every cost is worked out as zero, so check it after editing. - What it changes: The module works out each run's estimated cost from this table, and the spend cap uses those estimates. Prices change: check your provider and edit the table. A model that is not in the table is priced with
default.
The prices shipped in the module are:
| Model | Input per million | Output per million | Per image |
|---|---|---|---|
| claude-opus-5-5 | 4 | 20 | |
| claude-sonnet-5-5 | 2 | 10 | |
| claude-haiku-5-5 | 0.1 | 0.5 | |
| gpt-6.1-sol | 2 | 10 | |
| gpt-6-astra | 10 | 50 | |
| gpt-6-luna | 0.1 | 0.5 | |
| gpt-image-2.5-flare | 0.04 | ||
| gpt-image-2.5-sunburst | 0.17 | ||
| gemini-3-pro-image | 0.134 | ||
| default (any other model) | 10 | 50 | 0.25 |
These are the module's defaults, per million tokens for text models, and you can edit them in the Price Table. They were copied from the vendors' documents when the module was built, so re-check them against the provider's price page before relying on them. The default Anthropic model is claude-opus-5-5 (4 in, 20 out); the cheapest listed Anthropic model, claude-haiku-5-5, is 0.1 in and 0.5 out.
How to set up the AI Writer#
- Open Stores, Configuration, CoullWorks, Blog at Default Config, group AI Writer.
- Paste your key into the API Key of the provider you use and save. The field shows dots afterwards.
- Set Monthly Spend Cap to the most you want the AI Writer to cost in a month, in the currency of your price table.
- Check that the Price Table has the models you use. Add a line for any model that is missing, or it is priced at the high
defaultrate. - Press Save Config and flush the cache.
- Make sure cron is running, then open Content, CoullWorks Blog, AI Writer and start a brief.
How to add a new model#
- In the provider's Text Models, add the new id at the end after a comma, for example
,claude-sonnet-5-6. - In Price Table, add
"claude-sonnet-5-6":{"in":2,"out":10}with the provider's current prices, inside the braces and after a comma. - Save. If you want it chosen first, put its id in the provider's Default Text Model.
How to show an AI disclosure#
- Set Show an AI Disclosure on AI-assisted Posts to Yes.
- Edit Disclosure Line if you want your own wording.
- Save and flush the cache. A post made with the AI Writer now shows the line. To hide it on one post, set that post's disclosure setting to No.







