New · Seedance 2.5, Wan 3.0, frontier chat LLMs and Rosely hosted models
apimarketplace.comapimarketplace.com
MarketPricingDocs
Sign InGet Started
Market
apimarketplace.comapimarketplace.com

One API for video, image, voice and chat models. One credit balance, public prices, and refunds on every failed task.

Product

  • Model market
  • Pricing
  • Model APIs
  • Dedicated inference
  • Custom serving

Developers

  • Documentation
  • API reference
  • TypeScript examples
  • Python examples
  • Webhooks & delivery
  • llms.txt

Contact

  • support@apimarketplace.com
  • Talk to an engineer
  • Dashboard
  • Architecture & isolation

© 2026 apimarketplace, Inc. All rights reserved.

Privacy PolicyTerms of Service

All systems operational

    Market/Rosely/Rosely Workflow Story

    Rosely Workflow Story

    rosely/rosely-workflow-story

    LiveCommercial usePolling & webhooksWorkflowWorkflow

    Story Generation · Text / Chat

    Full Rosely story generation workflow matching `/v1/workflow/story/generate`. Screens the premise with safety moderation, resolves optional tenant character traits, and generates a structured title, preview, category, and full narrative.

    More from Rosely →
    ≈ 3 cr per run

    Examples

    Explore different use cases and parameter configurations

    TEXTQuick Start
    Story Generation

    Rosely Workflow Story Showcase

    Two old rivals meet unexpectedly on a rain-swept midnight train crossing the Swiss Alps.

    wait: true
    Input
    86/32000

    Prompt or message sent to the text model.

    3 credits/request (Base Output)3 credits
    Output
    Your story will appear here

    Set your parameters on the left and press Run. Outputs are saved to CDN storage.

    output type: text
    View full history
    Recent runs0
    to see and reload your past playground runs.

    Pricing

    Transparent pay-as-you-go rates · failed tasks are refunded automatically

    Base Output
    3 cr/req $0.0150

    1 credit = $0.005 · credits never expire · failed tasks are refunded automatically.

    Similar models

    Explore more Story Generation models

    View all
    LLM
    Rosely
    Rosely Story2 cr / req

    More AI models from Rosely

    View all
    IMG
    Rosely
    Rosely Workflow Image$0.025 / img
    VID
    Rosely
    Rosely Workflow Video$0.025 / s
    AUD
    Rosely
    Rosely Voice Call$0.025 / req
    VID
    Rosely
    Rosely Video Call$0.075 / req

    Latest and popular AI models

    View all
    VID
    ByteDance
    Seedance 2.5$0.14 / s
    VID
    Alibaba / Wan
    Wan 3.0 Prime$0.061 / s
    IMG
    ByteDance
    Seedream 5.5$0.018 / img
    AUD
    Rosely
    Rosely Voice Call$0.025 / req

    README

    Complete guide to using rosely/rosely-workflow-story

    Rosely Workflow Story API — Managed long-form story pipeline: prompt safety compliance + character continuity + structured JSON story output

    Full Rosely story generation workflow matching `/v1/workflow/story/generate`. Screens the premise with safety moderation, resolves optional tenant character traits, and generates a structured title, preview, category, and full narrative.

    Key capabilities of Rosely Workflow Story

    01
    Story Generation

    Supported through the same request schema.

    02
    Text / Chat

    Supported through the same request schema.

    03
    Safety Moderation + Character Binding

    Safety Moderation + Character Binding — available on every request to /v1/market/text/rosely-workflow-story.

    04
    Structured Title & Full Narrative

    Structured Title & Full Narrative — available on every request to /v1/market/text/rosely-workflow-story.

    05
    Same Contract as Direct Story

    Same Contract as Direct Story — available on every request to /v1/market/text/rosely-workflow-story.

    06
    Credit-Only • Sync, Poll & Webhook

    Credit-Only • Sync, Poll & Webhook — available on every request to /v1/market/text/rosely-workflow-story.

    Parameters

    ParameterTypeDefault / valuesDescription
    promptrequiredtextarea—Prompt or message sent to the text model.
    waitbooleantrueReturn result immediately (default true), or set false for async polling + webhook.
    callback_urlstring—Optional HTTPS URL notified via POST when complete.

    Pricing

    TierCredits / reqNotes
    Base Output3 creditsStandard rate

    How to get started

    1. 1
      Create an API key

      Open the dashboard and create a key for your project.

      API keys →
    2. 2
      POST /v1/market/text/rosely-workflow-story

      Send the same JSON you built in the playground with your key as a Bearer token.

    3. 3
      Read the output directly

      Synchronous models return the output directly in the response, or pass wait: false to poll.

      Docs →

    FAQ

    How is Rosely Workflow Story billed?

    3 credits/request. Flat credit-only billing per request, and the playground shows the estimated credit cost before each run.

    What if a generation fails?

    Credits are reserved when the task starts and refunded automatically if the provider errors, times out or the task is cancelled.

    Is the response synchronous?

    Yes — this endpoint supports returning the completed result directly when wait is true, or set wait: false to receive a taskId for polling and webhooks.

    Where are outputs stored?

    Outputs are copied to durable CDN storage and returned as HTTPS URLs on the task, so links stay valid after the provider's temporary URL expires.

    API

    Call Rosely Workflow Story from your code with one HTTP request

    # Dedicated Workflow Alias: POST https://api.apimarketplace.com/v1/workflow/story/generate
    # Option A — Submit (Polling or Sync)
    curl -X POST "https://api.apimarketplace.com/v1/market/text/rosely-workflow-story" \
      -H "Authorization: Bearer $API_MARKETPLACE_KEY" \
      -H "Content-Type: application/json" \
      -d '{
      "prompt": "Explain how to design a resilient multi-queue AI job scheduler with automatic retries.",
      "wait": true
    }'
    
    # Poll task status until status == "succeeded" (works for all models)
    curl -X GET "https://api.apimarketplace.com/v1/market/tasks/{task_id}" \
      -H "Authorization: Bearer $API_MARKETPLACE_KEY"
    
    # Option B — Async + Webhook Callback (also fires Dashboard Webhooks)
    curl -X POST "https://api.apimarketplace.com/v1/market/text/rosely-workflow-story" \
      -H "Authorization: Bearer $API_MARKETPLACE_KEY" \
      -H "Content-Type: application/json" \
      -d '{
      "prompt": "Explain how to design a resilient multi-queue AI job scheduler with automatic retries.",
      "wait": false,
      "callback_url": "https://your-app.com/webhooks/market"
    }'
    Endpoints
    Authentication
    Manage keys →
    Authorization: Bearer $API_MARKETPLACE_KEY
    Webhook callback

    Add callback_url to the body to receive a POST with the final CDN URL when the task finishes or fails.

    Task response
    {
      "taskId": "gen_…",
      "status": "succeeded",
      "result": { "text": "…", "usage": { "total_tokens": 128 } },
      "credits": { "charged": 3 }
    }