TSWG APIs

API Developer Hub

Build with TSWG APIs for premium creator tools, SVG resources, AI avatar creation, text-to-image, text/image-to-video, and text-to-audio workflows. Access is paid, reviewed, and protected by API keys.

Live catalog

SVG Icon API

Lists premium SVG icon resources and metadata for approved API clients.

GET /tswg-svg-icon-api.php?action=list

Protected

AI API — Image Generation

Creates queued AI image jobs for approved API clients. No-key calls must return 401.

POST /tswg-ai-api.php?action=create&type=image

Paid access foundation

AI Avatar Creation

Avatar generation for profile images, creator characters, brand mascots, education characters, and product storytelling.

POST /tswg-ai-api.php?action=create&type=avatar

Paid access foundation

Text to Image

Generate high-quality images from prompts with use-case, proof, workflow, and output documentation.

POST /tswg-ai-api.php?action=create&type=image

Paid access foundation

Text/Image to Video

Generate or queue video outputs from text/image prompts for demos, product education, ads, and short-form content.

POST /tswg-ai-api.php?action=create&type=video

Paid access foundation

Text to Audio

Generate audio narration, voice assets, audio explainers, voiceover drafts, and product audio previews.

POST /tswg-ai-api.php?action=create&type=audio

Authentication

Production calls should include a private API key. Public no-key calls should remain rejected.

Authorization: Bearer YOUR_TSWG_API_KEY
X-TSWG-API-Key: YOUR_TSWG_API_KEY

Proof review actions

Admins can approve, reject, or return API proof submissions to pending review. Approval publishes proof; rejection keeps it private. These actions do not call AI providers or payment systems.

Submit API product proof

API users, teams, and product builders can submit proof screenshots, demos, metrics, before/after examples, and workflow automation evidence for admin review.

API request queue and lifecycle

Admins can review queued API requests, provider status, proof requirements, and request event timelines from the API Request Queue. This admin surface does not trigger provider generation.

API usage analytics and privacy

Admins can review API usage rows, client usage summaries, endpoint activity, and hash-prefix privacy from the API Usage Analytics center. Raw IPs, raw user agents, and full hashes are not displayed.

API client activation and key privacy

After manual verification and activation, admins can review activated clients, monthly limits, usage rows, and key-hash prefixes from the API Client Directory. Raw API keys are not displayed.

Manual activation path

After a request is submitted and payment is verified manually, an admin can activate the API client from the API Access Requests queue. Activation creates a protected API client record and updates the request status without charging or calling external providers.

Request paid API access

Submit a paid API access request for AI Avatar Creation, Text to Image, Text/Image to Video, Text to Audio, SVG API, or protected AI API workflows. Requests are manually reviewed before activation.

Paid access and local payment workflow

What API products must prove

Admin API Product Registry

Admins can review API products, proof requirements, billing plans, payment review paths, request events, SVG clients, and API usage from the API Product Registry.

Example request

curl -X POST "https://thesurestwayguides.com/tswg-ai-api.php?action=create&type=image" \
  -H "Authorization: Bearer YOUR_TSWG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"premium creator dashboard product image","use_case":"marketplace proof screenshot"}'

Approved API Proof Gallery

Published API proof appears in the public gallery after admin review. Pending, rejected, and private proofs are not shown.

API Product Catalog

Explore TSWG API products, proof routing, outcomes, workflows, endpoints, and access paths from the public API Product Catalog.

Product-specific API pages

Each API product now has a detail route for product-specific access requests, proof submissions, approved proof routing, and endpoint context.

API Pricing

Compare API access levels, monthly request limits, and included API surfaces before submitting a manual review request.

API Payment Options

Choose a local/manual payment path before submitting your API access request. This routes to manual review only and does not charge you.

Submit API Payment Proof

Already paid through a local/manual path? Submit your payment reference or receipt URL for manual verification.

Payment proof review

Submitted API payment proof is reviewed by admins before verification and API activation. Public pages do not charge or call gateways.

API Revenue Ledger

Admins can review API payment-intent analytics, verified revenue, activated revenue, and manual-review pipeline totals without charging users or calling gateways.

API Revenue Reconciliation

Admins can reconcile API payment intents by month, status, gateway state, plan, country, and payment method, with parity against the protected CSV export.

Filtered API Revenue Reconciliation

Admins can filter API revenue by month, status, country, and payment method, then export the same filtered view through the protected CSV endpoint.

API Revenue Exceptions

Admins can review payment-intent quality flags such as missing references, verification mismatches, activated records without clients, and routing gaps before reconciliation.

API Revenue Exceptions Export

Admins can export flagged API payment-intent exceptions for reconciliation and quality review. The export remains protected from public access.

API Finance Command Center

Admins can use one finance index for revenue, reconciliation, exceptions, payment proof, clients, products, queue, usage, and protected exports.

Protected Admin Finance Route

The API Finance Command Center also has a protected direct admin route. Public users receive 403; admins can open the full finance dashboard directly.

API Finance Health Snapshot

Admins can view a protected JSON snapshot for finance health, payment-intent quality, protected exports, and command-center readiness.

API Finance Quick Navigation

Admins now have a visible quick-navigation strip inside the API Finance Command Center for review surfaces, health checks, protected exports, queue, usage, clients, products, and proof workflows.

API Finance Operator Checklist

Admins now have a step-by-step finance checklist covering health, exceptions, proof review, reconciliation, exports, clients, usage, registry, queue, and product proofs.

API Finance Review Handoff

Admins now have a print-ready finance handoff runbook covering health, exceptions, proof review, reconciliation, exports, client usage, registry, queue, and product proofs.

API Finance Handoff Print Route

Admins now have a protected print-ready handoff route for finance review, latest payment-intent references, protected exports, and operator notes.

Finance Handoff Signoff

The protected finance handoff print route now includes reviewer, export, reconciliation, next-owner, and signature fields for printed operator packets.

API Finance Handoff Packet

The protected finance handoff print route now includes a cover page, table of contents, safety notice, generated timestamp, signoff block, and latest records section.

API Finance Evidence Appendix

The protected finance handoff print packet now includes an evidence appendix for report paths, public-protection checks, exports, StoryLang, protected endpoints, SVG, AI, and cleanup proof.

Finance Handoff Revision Control

The protected finance handoff print packet now includes packet ID, revision status, distribution checklist, next-review date, and packet integrity checks.

Finance Exception Escalation Matrix

The protected finance handoff print packet now includes exception priority levels, required evidence, owner fields, next actions, escalation paths, and blocking rules.

Finance Exception Resolution Log

The protected finance handoff print packet now includes a carry-forward register with owner, evidence reference, resolution status, due date, and reviewer notes.

Finance Handoff Closeout Certificate

The protected finance handoff print packet now includes final review status, residual risk acknowledgement, export confirmation, handoff owner, next owner, closeout date, final notes, and signature fields.