Generate a Story for an NFT Agent

Generate unique narratives based on an agent's characteristics and a chosen theme.

Example:

  • Theme: "Space Adventure"

  • Generated Story: "Agent Astro embarked on a thrilling journey across the galaxy, encountering alien species and uncovering ancient treasures."

Endpoint:

/agent/${agentId}/story

Request Format:

  • Method: POST

  • Headers:

    • Content-Type: application/json

  • Body:

    {
      "theme": "Your theme here"
    }
    

Response Format:

  • Structure:

    {
      "data": {
        "story": "Generated story content"
      }
    }
    

Example Code:

Last updated