text-to-visual

text-to-visual is a skill for Claude Code from PicsArt/gen-ai-skills. It costs 16 tokens per session (876 once invoked), scanned C, original, MIT.

A tool for creating images that match written content, such as a paragraph, article, or web-page link, using Picsart’s image-generation service.

In plain words
What is it for?
Use it for one image, a set of images for a blog article, or a social-media preview image for a URL. It requires the Picsart image-generation command-line tool to be installed and signed in.
Why use it?
It removes the need to plan and create each supporting visual separately when the subject and tone are already described in text.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the picsart plugin — 23 skills, 2 MCP servers shipped together

Good fit Use it for one image, a set of images for a blog article, or a social-media preview image for a URL. It requires the Picsart image-generation command-line tool to be installed and signed in.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/picsart/gen-ai-skills/text-to-visual
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PicsArt/gen-ai-skills --skill text-to-visual
Clone the repo
git clone --depth 1 https://github.com/PicsArt/gen-ai-skills

Made for: Claude Code.

Or install picsart, the plugin that ships this one along with the rest of its 23 skills, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for text-to-visual

README.md
[![agentmods](https://agentmods.dev/badge/skills/picsart/gen-ai-skills/text-to-visual/github.svg)](https://agentmods.dev/skills/picsart/gen-ai-skills/text-to-visual)
Your own site
<a href="https://agentmods.dev/skills/picsart/gen-ai-skills/text-to-visual"><img src="https://agentmods.dev/badge/skills/picsart/gen-ai-skills/text-to-visual/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for text-to-visual

Your own site · 80×15
<a href="https://agentmods.dev/skills/picsart/gen-ai-skills/text-to-visual"><img src="https://agentmods.dev/badge/skills/picsart/gen-ai-skills/text-to-visual.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 876 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.00876
Opus 5 $0.00008 $0.00438
Sonnet 5 $0.00003 $0.00175
Haiku 4.5 $0.00002 $0.00088

Measured 11d ago against content hash 9371bf67c3f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade C, and why

text-to-visual scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://picsart.com/gen-ai-cli/install.sh | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://picsart.com/gen-ai-cli/install.sh | bash
skills/text-to-visual/SKILL.md · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Text to Visual

A single skill that covers every "given text, produce a matching image" workflow Picsart's gen-ai CLI supports. Use when the user has any kind of written content — a paragraph, a blog draft, a URL — and needs visuals generated from it. Replaces three narrower skills with one entry point and three mode references.

Input: text (paragraph, article, or URL). Output: one or more images matched to the text's tone, topic, and target placement.

When to Use

Mode Trigger phrases Reference
single "match a visual to this paragraph", "inline image for this section", "one visual for this content" references/modes/single.md
article-set "illustrate this blog post", "hero + inline visuals for an article", "full visual set for a draft" references/modes/article-set.md
og "OG image for this URL", "open graph preview", "Twitter card image", "dynamic meta image" references/modes/og.md

If the user wants product photos transformed, that's product-photo-studio. If they want video, that's gen-ai-use.

Prerequisites

Picsart gen-ai CLI installed and authenticated:

curl -fsSL https://picsart.com/gen-ai-cli/install.sh | bash
gen-ai login
gen-ai whoami

Per-mode setup (caching, serverless endpoints, font choices) is documented inside each mode reference.

How to Run

  1. Identify the mode from the user's request using the table in When to Use.
  2. Load the corresponding mode reference: Read references/modes/<mode>.md.
  3. Follow the procedure described there — extract text signals, build prompt, generate.
  4. Return to this SKILL.md only when switching modes mid-task.

Quick Reference

# Single image from a prompt
gen-ai generate --model <model> --prompt "<derived from text>"

# Estimate cost first
gen-ai pricing --model <model> --count <N>

# Browse available models
gen-ai models

Read the full file on GitHub · 94 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 94 lines · 16 tokens per session scan C 9371bf67c3f8

Subscribe to this mod's changes

text-to-visual is a skill published in the GitHub repository PicsArt/gen-ai-skills (4 stars, last pushed 14d ago), licensed MIT. It adds 16 tokens to every session and 876 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

lastfm

Access Last.fm listening history, music stats, and discovery. Query recent tracks, top artists/albums/tracks, loved tracks, similar artists, and global charts.

SteveGrosbois/tidal-cli · 36 tokens

tidal-playlist

Manage Tidal playlists — list, create, rename, delete, set public/private visibility, add or remove albums and tracks, and list tracks in a playlist. Use when the user wants to work with playlists or share one.

SteveGrosbois/tidal-cli · 50 tokens

metalorgie-weekly-releases

Récupère et filtre les sorties d'albums de la semaine publiées sur metalorgie.com ("Les sorties de la semaine"). Affiche les albums correspondant aux genres favoris de l'utilisateur (Metalcore, Post Hardcore, Hardcore, Neo metal) ainsi que les albums de groupes reconnus/notables, même hors genres favoris. Utilise ce…

SteveGrosbois/tidal-cli · 115 tokens

tidal-library

Add or remove artists, albums, or tracks from your Tidal favorites library. Use when the user wants to save music, like a song, follow an artist, or remove items from their library.

SteveGrosbois/tidal-cli · 44 tokens

tidal-search

Search for artists, albums, or tracks on Tidal. Use when the user wants to find music, look up an artist, search for a song or album.

SteveGrosbois/tidal-cli · 37 tokens

hypr-video-cli

Generates MP4 videos from canvasState JSON via CLI. Builds canvasState JSON with elements, animations, transitions, keyframes, captions, and effects, then renders with npx hypr-video-cli. Activates when creating videos, promos, clips, or animations from descriptions; composing video/image/text/shape/audio elements on…

superyhee/hypr-video-skills · 146 tokens