Skip to main content
SDK
Wallet
SDK
FIND YOUR WAY
Wallet

Connect your wallet to build, save and manage SDKs.

Library

Official · SDK

World Engine

Builds a fictional world from a concept, including places, factions, rules, and story conflicts.

Version 1

What it does

Builds a fictional world from a concept, including places, factions, rules, and story conflicts.

Try this SDK

Enter the required inputs and run this SDK using the published version.

Examples fill the form. They are not a test result.

Remix this SDK

Open an editable version in the AI Builder and make it your own.

Developer details

Version 1

Inputs

Outputs

Operations

  1. 01

    compose

    Generate

Content hash

bb8e3f3339320e396af1ebee8bafbf4fbb896bdf5278dd1716e0a88496b7e532

Blueprint
{
  "name": "World Engine",
  "steps": [
    {
      "id": "compose",
      "op": "ai.generate",
      "args": {
        "tone": {
          "$ref": "inputs.tone"
        },
        "genre": {
          "$ref": "inputs.genre"
        },
        "concept": {
          "$ref": "inputs.concept"
        },
        "constraints": {
          "$ref": "inputs.constraints"
        }
      },
      "config": {
        "task": "Create a fictional world from the concept, genre, tone, and constraints. Put the overview in overview, places in geography, groups in factions, setting rules in rules, and conflicts or story hooks in hooks. This is fiction.",
        "responseSchema": {
          "type": "object",
          "required": [
            "overview",
            "geography",
            "factions",
            "rules",
            "hooks"
          ],
          "properties": {
            "hooks": {
              "type": "string"
            },
            "rules": {
              "type": "string"
            },
            "factions": {
              "type": "string"
            },
            "overview": {
              "type": "string"
            },
            "geography": {
              "type": "string"
            }
          }
        }
      }
    }
  ],
  "inputs": {
    "tone": {
      "type": "string",
      "required": true,
      "maxLength": 200
    },
    "genre": {
      "type": "string",
      "required": true,
      "maxLength": 200
    },
    "concept": {
      "type": "string",
      "required": true,
      "maxLength": 2000
    },
    "constraints": {
      "type": "string",
      "required": false,
      "maxLength": 1000
    }
  },
  "limits": {
    "timeoutMs": 60000,
    "maxOutputBytes": 131072
  },
  "outputs": {
    "world": {
      "from": {
        "$ref": "steps.compose.result"
      },
      "type": "object"
    }
  },
  "description": "Builds a fictional world from a concept, including places, factions, rules, and story conflicts.",
  "capabilities": [
    "ai.generate"
  ],
  "schemaVersion": "1.0"
}
World Engine | SDK