/socialforge:setup — API Credential Configuration
SkillMediaOne-time setup for image and video generation APIs — Vertex AI, WaveSpeed, and Higgsfield credentials stored persistently and verified before use. Triggers on \"/setup\", \"set up socialforge\", \"configure the APIs\", \"add credentials\", \"connect vertex\", \"credential status\", or before any creative production on a new machine. Keys live outside the repo; nothing is committed to git.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the /socialforge:setup — API Credential Configuration skill
What this skill tells your AI
The instructions your AI receives, as published by indranilbanerjee/socialforge in skills/setup/SKILL.md and read by ahel’s review.
One-time setup that stores credentials persistently. Run once, works forever across all sessions.
Context efficiency
Asset-heavy skill. Grep before Read the asset catalog (${CLAUDE_PLUGIN_DATA}/socialforge/brands/<brand>/asset-index.json) — never list the asset directory. Reference generated images / videos by path, not by loading metadata. Brand profile loads once per session.
What This Does
Configures two services that SocialForge needs for creative production:
- Google Cloud Vertex AI (required for images) — Nano Banana 2 (Gemini 3.1 Flash Image) + Nano Banana Pro (Gemini 3 Pro Image)
- WaveSpeed (required for video) — Kling v3.0 Pro for image-to-video
Prerequisites
Your admin provides you with:
- A Google Cloud service account JSON file (for image generation)
- A WaveSpeed API key (for video generation)
If you are the admin, see the Admin Setup section below.
How to Run
/socialforge:setup
Interactive Flow
Step 0: Install Dependencies (Automatic)
Run this first — installs all required Python packages:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/install_deps.py"
This auto-installs: google-genai (Vertex AI), wavespeed (Kling video), Pillow (compositing), imageio-ffmpeg (video post-processing), playwright (carousels).
If any package fails, show the manual install command and continue.
Step 1: Image Generation (Vertex AI)
Check if already configured:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/credential_manager.py" status
If not configured, ask:
Image Generation Setup (Google Cloud Vertex AI)
Do you have a Google Cloud service account JSON file?
Provide the full file path (e.g., C:\Users\you\Downloads\socialforge-credentials.json)
Or type "skip" to configure later (image generation will not work).
When user provides the path:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/credential_manager.py" setup-vertex --json-path "<user-provided-path>"
Show the result. If success:
Image generation configured.
Project: <project_id>
Service Account: <email>
Models available: gemini-3.1-flash-image (Nano Banana 2), gemini-3-pro-image (Nano Banana Pro)
Step 2: Video Generation (WaveSpeed)
Video Generation Setup (WaveSpeed / Kling v3.0)
Do you have a WaveSpeed API key?
Paste the key here
Or type "skip" to configure later (video generation will not work).
When user provides the key:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/credential_manager.py" setup-wavespeed --api-key "<user-provided-key>"
Show the result. If success:
Video generation configured.
Provider: WaveSpeed (Kling v3.0 Pro)
Models: image-to-video, text-to-video (3-15 seconds)
Step 2.5: HiggsField (Optional Fallback)
HiggsField Setup (Optional — adds fallback resilience)
Do you have a HiggsField API key and secret?
→ Paste the API key, then the API secret
Or type "skip" (HiggsField is optional — Vertex AI and WaveSpeed are sufficient).
When user provides both:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/credential_manager.py" setup-higgsfield --api-key "<key>" --api-secret "<secret>"
Step 3: Summary
SocialForge API Setup Complete
Image Generation: [configured / not configured]
Provider: Google Cloud Vertex AI
Project: <project_id>
Models: Nano Banana 2 (Gemini 3.1 Flash Image), Nano Banana Pro (Gemini 3 Pro Image)
Video Generation: [configured / not configured]
Provider: WaveSpeed (Kling v3.0 Pro)
Modes: image-to-video, text-to-video
HiggsField: [configured / skipped]
Provider: HiggsField (Soul v2 + Kling v2.1, fallback)
Credentials stored persistently. No further setup needed.
Next: /socialforge:brand-setup [brand-name] to configure your first brand.
Arguments
| Argument | Effect |
|---|---|
| (none) | Run full interactive setup |
--image | Configure image generation only (Vertex AI) |
--video | Configure video generation only (WaveSpeed) |
--fallback | Configure HiggsField fallback only |
--status | Show current configuration status |
--reset | Remove all stored credentials and start fresh |
Admin Setup Guide
If you are setting up the cloud accounts for your team, follow these detailed guides.
Google Cloud (Vertex AI — Image Generation)
Step 1: Create a Google Cloud Project
- Open https://console.cloud.google.com/
- If you don't have an account, click "Get started for free" and follow registration
- Click the project dropdown at the top of the page (next to "Google Cloud")
- Click "NEW PROJECT"
- Enter a project name (e.g., "socialforge-production")
- Click "CREATE"
- Wait for the project to be created (30 seconds), then select it from the dropdown
Step 2: Enable Billing
- Go to https://console.cloud.google.com/billing
- Click "LINK A BILLING ACCOUNT"
- If you don't have a billing account, click "CREATE BILLING ACCOUNT"
- Add a payment method (credit card)
- New accounts may come with promotional credits — the console states the current offer and its expiry. This skill does not quote it, because a number stated from memory is wrong the moment the vendor changes it.
Step 3: Enable Vertex AI API
- Go to https://console.cloud.google.com/apis/library
- Search for "Vertex AI API"
- Click on it, then click "ENABLE"
- Wait for it to activate (takes a few seconds)
Step 4: Create a Service Account
- Go to https://console.cloud.google.com/iam-admin/serviceaccounts
- Click "+ CREATE SERVICE ACCOUNT"
- Service account name:
socialforge-image-gen - Description:
SocialForge AI image generation - Click "CREATE AND CONTINUE"
- In "Grant this service account access to project":
- Click the "Select a role" dropdown
- Type "Vertex AI User" in the search box
- Select "Vertex AI User"
- Click "CONTINUE", then "DONE"
Step 5: Download the JSON Key File
- In the service accounts list, click on
socialforge-image-gen - Go to the "KEYS" tab
- Click "ADD KEY" then "Create new key"
- Select "JSON" and click "CREATE"
- A .json file downloads automatically — this is your credential file
- Save it somewhere safe on your computer
Step 6: Share with Your Team
Share the downloaded JSON file with your team via:
- Slack DM (not in a public channel)
- Email (encrypted if possible)
- Shared company drive (restricted access)
NEVER commit this file to Git. NEVER share it publicly.
Cost: this skill does not state a price. Per-image cost depends on model and resolution and changes without notice, so quoting one here would be a number nobody looked up. Run python ${CLAUDE_PLUGIN_ROOT}/scripts/price_book.py --action check --model <model> --provider <provider>; it returns a recorded price or refuses with the vendor's own pricing URL. All costs go to the admin's billing account.
WaveSpeed (Kling v3.0 — Video Generation)
Step 1: Create a WaveSpeed Account
- Open https://wavespeed.ai
- Click "Sign Up" and create an account
- Verify your email
Step 2: Add Credits
- After logging in, go to your dashboard
- Click "Top Up" or navigate to billing
- Add credits (minimum top-up required to activate API access)
- Pricing: read the current per-second rate from the vendor's billing page. This skill deliberately does not quote it — see
price_book.py, which refuses to quote a price it has not looked up rather than repeating a stale one.
Step 3: Create an API Key
- Go to https://wavespeed.ai/accesskey
- Click "Create API Key"
- Copy the key (it's a long string of letters and numbers)
- Save it somewhere safe
Step 4: Share with Your Team
Share the API key string with your team via:
- Slack DM
- Password manager (recommended)
- Email (encrypted if possible)
NEVER commit this key to Git or paste it in public forums.
Cost: All video generation costs go to the admin's WaveSpeed account. Monitor usage at https://wavespeed.ai/dashboard
HiggsField (Optional Fallback — Video + Image)
HiggsField provides additional resilience. If both Vertex AI and WaveSpeed are down, HiggsField can generate images and videos.
Step 1: Create a HiggsField Account
- Open https://higgsfield.ai
- Click "Sign Up" and create an account
- Any promotional credit for new accounts is shown at signup; this skill does not quote an amount.
Step 2: Get API Credentials
- Log in at https://cloud.higgsfield.ai and open the API / Developer section of your dashboard
- Create a new API key pair — you'll get an API Key AND an API Secret
- Save both values
Step 3: Share with Your Team
Share both the API key AND secret with your team. Both are needed for authentication.
Security Notes
- Credentials are stored in the plugin persistent data directory
- The GCP JSON file is copied (not linked) to ensure it survives if the original is deleted
- WaveSpeed API key is stored in credentials.json within plugin data
- No credentials are committed to git or shared outside the local machine
- To revoke access: rotate the service account key in GCP Console or regenerate the WaveSpeed API key
Signals
- GitHub stars
- 38
- Forks
- 6
- Last commit
- Aug 2026
Advanced
- Catalog kind
- skill
- Gateway key
setup-indranilbanerjee- Source
- github.com/indranilbanerjee/socialforge