ads:generate
ads family
Write and render ad creative from a brief: copy for every format and variant, images, and (only when asked, one platform at a time) video, saved as creative-asset things on the campaign. With no campaignId a campaign group is created from the brief. Credits are checked before anything is rendered; video is capped per call and per day. Each failed asset is named, never replaced
- Effect
- ask
- Awaits an outcome — the call returns the response below.
- Caller
- manage_integrations
- The class of authority the caller must already hold, decided from the attested context with no round trip.
- Authority action
- manage_integrations
- Also gated per node — the caller must be permitted this action over the workspace it names.
- Cost
- variable
- What one call costs, so you can budget before acting.
- Reversible
- yes
- The effect can be undone by a later call.
- Settles
- offchain
- Moves real value off chain — a balance changes.
- Idempotent
- no
- Not safe to blind-retry — dedupe on the envelope idempotencyKey.
- Version
- 1.0.0
- Pin this to keep a contract stable; additive bumps never break callers.