$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "rows": [
< {
< "text": "今天的新品很好用 #科技",
< "demo": true
< },
< {
< "text": "支持中文和英文 🌟",
< "demo": true
< },
< {
< "text": "物流速度很快",
< "demo": true
< },
< {
< "text": "这个价格很合适",
< "demo": true
< },
< {
< "text": "@demo 下次再来 #购物",
< "demo": true
< }
< ],
< "fields": [
< "text"
< ],
< "targetLanguage": "en",
< "glossary": {},
< "batchSize": 5,
< "includePinyin": true,
< "scriptMode": "traditional",
< "detectLanguage": true,
< "maxItems": 5,
< "baseUrl": "https://openrouter.ai/api/v1",
< "model": "deepseek/deepseek-v4-flash",
< "maxOutputTokens": 768,
< "maxTotalTokens": 40000,
< "temperature": 0.2,
< "maxConcurrency": 1
<}
<EOF
$curl "https://api.apify.com/v2/actors/zinin~chinese-social-media-dataset-translator/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'