Fable Distiller avatar

Fable Distiller

Pricing

from $20.00 / 1,000 results

Go to Apify Store
Fable Distiller

Fable Distiller

Bundle the Claude Fable 5 system prompt and apply it to any LLM model via your own API key.

Pricing

from $20.00 / 1,000 results

Rating

0.0

(0)

Developer

Safwan Kazi

Safwan Kazi

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

4 days ago

Last modified

Categories

Share

Fable Distiller - Apify Actor

Bundle the Claude Fable 5 system prompt (3,825 lines) and apply it to any LLM model via your own API key.

How It Works

  1. Select your provider (OpenAI, Anthropic, OpenRouter, or a custom OpenAI-compatible endpoint)
  2. Enter your API key and choose a model
  3. Provide your messages as a JSON array
  4. The Actor prepends the entire Fable 5 system prompt and sends the request
  5. The response is returned with token usage and metadata

Input

FieldTypeRequiredDescription
providerselectYesopenai, anthropic, openrouter, or custom
modelstringYesModel name/ID (e.g., gpt-4o, claude-sonnet-4-20250514)
apiKeysecret stringYesYour API key for the chosen provider
messagesJSON arrayYes[{"role": "user", "content": "..."}]
apiBaseUrlstringNoCustom base URL (required for custom provider)
maxTokensintegerNo (default: 4096)Max response tokens
temperaturenumberNo (default: 1.0)Response temperature (0.0–2.0)

Output

Success:

{
"success": true,
"provider": "openai",
"model": "gpt-4o",
"content": "...",
"usage": { "inputTokens": 1000, "outputTokens": 500, "totalTokens": 1500 },
"finishReason": "stop",
"id": "chatcmpl-xxx"
}

Error:

{
"success": false,
"provider": "openai",
"model": "gpt-4o",
"error": { "type": "auth_error", "message": "Invalid API key", "statusCode": 401 }
}

Development

# Copy the Fable 5 prompt into this directory
cp ../../claude-fable-5.md ./claude-fable-5.md
# Install dependencies
npm install
# Type-check
npm run typecheck
# Run tests
npm test
# Build
npm run build
# Run locally (requires a sample INPUT.json in the actor directory)
npx apify run

Deployment

npx apify login
npx apify push