Validate And Prepare TikTok Assets
User provides image URLs to validate BEFORE creating TikTok image campaign.
Validate and prepare new image assets for TikTok ad campaigns.
IMPORTANT: Call this tool BEFORE create_tiktok_campaign if uploading NEW images.
TikTok Image Requirements:
- Aspect ratio: 9:16 (vertical, e.g., 1080x1920 or 540x960)
- Maximum file size: 10MB
- Formats: JPEG, PNG, WEBP
- Minimum size: 540x960px
- Recommended: 1080x1920px
Parameters:
- image_urls: List of public image URLs (e.g., from postimages.org, imgbb.com)
Returns:
- Validation results for each image
- asset_bundle_id (valid for 60 minutes)
- Use this bundle ID in create_tiktok_campaign
Execution time: 5-15 seconds (downloads and validates images)
Use this tool to:
- Upload new images you haven’t used before
- Validate images meet TikTok’s specifications
- Get detailed error messages if images don’t meet requirements
After validation, use the returned asset_bundle_id in create_tiktok_campaign.
Authorizations
API key from https://adspirer.ai/keys. Prefix sk_live_. Treat as a secret — never commit.
Headers
Client-generated UUID to make writes idempotent. Strongly recommended for write tools. A repeat call with the same key returns the cached result instead of re-executing. Example: 550e8400-e29b-41d4-a716-446655440000
Body
All tool arguments are wrapped in an arguments object. The fields accepted inside arguments are listed below — required fields are marked with a red asterisk.
Response
Tool executed successfully. data.text carries the human-readable result (markdown-friendly). data.quota shows your current usage against the plan limit. data.structured appears when the tool emits machine-parseable structured content. data.content appears for tools that return non-text blocks (images, resources).
Returned on HTTP 200. data.text is the primary human-readable output. data.quota is always present for billable calls. data.structured is set only when the tool emits machine-parseable structured content. data.content is set only when the tool emits non-text content blocks.

