post
https://api.mbd.xyz/v3/studio/stories/generate
Generate personalized onchain stories about market activity, significant bets, and price movements.
This endpoint creates narrative-driven content about Polymarket activity tailored to a specific user's wallet and interests. Stories are generated from multiple data sources:
Story Types:
- New Markets (
new_market): Recently created prediction markets relevant to the user - Significant Bets (
user_markets_bets,relevant_markets_bets,bet): Large bets on markets the user participates in or related markets discovered via graph analysis - Price Changes (
price_change): Markets experiencing significant price movements, with optional AI-generated commentary explaining the change - Relevant Markets (
relevant_market): Markets related to user's activity without recent bet or price activity
Engines:
- polymarket_v1: Multi-source, modular story generation with granular control over each story type. Configure time windows, minimum bet amounts, and result counts independently for each source.
- polymarket_v2: Simplified, unified approach combining all signals into a single ranked story feed. Just specify
num_storiesandnew_market_hours.
Data Sources:
- Elasticsearch: Market metadata, price changes, new markets
- Neo4j: Bet graph, user relationships, market connections
- DynamoDB: Market details, bet history, price change events
