---
title: "Story PIL Flavor Mapper"
method: POST
path: "/v1/tools/map_pil_flavor"
tags: ["TODO_TAGS_REVIEW", "TODO_AP2_EXPORT_REVIEW"]
---

# Story PIL Flavor Mapper

`POST /v1/tools/map_pil_flavor`

## Request

- Base URL: `https://ainumbers.co`
- URL: `https://ainumbers.co/v1/tools/map_pil_flavor`
- Auth: none declared

Maps creator answers (commercial use, derivatives allowed, optional minting fee, revenue share percent) to a Story Protocol Programmable IP License flavor and emits the full PILTerms struct. Three flavors: non_commercial_social_remixing (licenseTermsId=1, the protocol constant), commercial_use, and commercial_remix. Selection only, not legal advice. Zero network, zero PII.

**Tool URL:** https://ainumbers.co/chaingraph/art-197-pil-flavor-mapper.html

## Request body

- object
  - `commercial_use` boolean: type not evidenced by kernel source
  - `derivatives_allowed` boolean: type not evidenced by kernel source
  - `minting_fee` unknown
  - `rev_share_pct` unknown

## Response `200`

Successful tool execution result

- object
  - `disclaimer` string
  - `docs` string
  - `flavor` string
  - `flavor_label` string
  - `license_terms_id` integer
  - `pil_terms` object
    - `commercialAttribution` boolean
    - `commercialRevShare` integer
    - `commercialUse` boolean
    - `defaultMintingFee` integer
    - `derivativesAllowed` boolean
    - `derivativesAttribution` boolean
    - `derivativesReciprocal` boolean
    - `licenseTermsId` integer
    - `transferable` boolean

---

[API](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite.md) · [All operations](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/llms.txt) · [OpenAPI document](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/revisions/b462e4f5bb28?raw)
