Install the SDK, copy the example, and start verifying identities in minutes
from actorhub import ActorHub
client = ActorHub(api_key="your_api_key")
# Check if image contains protected identities
result = client.verify(image_url="https://example.com/face.jpg")
if result.protected:
print("⚠️ Protected identity detected!")
for identity in result.identities:
print(f" - {identity.display_name}")
if not identity.allow_commercial:
print(" Commercial use: NOT ALLOWED")
else:
print("✅ No protected identities - OK to generate")Use ActorHub.ai directly from Claude Desktop with our MCP (Model Context Protocol) server
npm install -g @actorhubai/mcp-serverOr use npx without installing globally
Add to claude_desktop_config.json:
{
"mcpServers": {
"actorhub": {
"command": "npx",
"args": ["@actorhubai/mcp-server"],
"env": {
"ACTORHUB_API_KEY": "your-api-key"
}
}
}
}Config file location:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonverify_identityCheck if image contains protected identity
check_consentVerify consent for AI content generation
browse_marketplaceBrowse Actor Packs for licensing
get_identityGet details about protected identity
get_actor_packGet Actor Pack info and pricing
Use these slash commands directly in Claude Code to integrate ActorHub.ai into your workflow:
/actorhub-verifyCheck if a face has consent before generating AI content
/actorhub-protectWalk through protecting a creator's identity on ActorHub
/actorhub-integrateGet architecture patterns and code for your AI pipeline
Test the Identity Verification API in real-time. Enter your API key and upload an image to see if it contains a protected identity.
Contact us to get your API key
Click to upload a face image
JPG, PNG up to 10MB
/v1/identity/verifyVerify a face against protected identities
/v1/identity/{id}Get identity details and permissions
/v1/consent/checkCheck consent status for AI generation
/v1/marketplace/listingsBrowse available Actor Packs
/v1/actor-packs/trainTrain a new Actor Pack (LoRA model)
/v1/marketplace/licenses/mineGet your purchased licenses
/v1/marketplace/license/purchasePurchase a license for an Actor Pack