Skip to main content

Personas module for Sonnerrise - Suno persona definitions

Project description

sonnerrise-personas

Personas module for the Sonnerrise suite - manages Suno persona definitions.

Features

  • Create and manage Suno personas (voice/style references)
  • Link personas to parental tracks
  • Full CRUD operations via Python API or CLI

Installation

pip install sonnerrise-personas

Usage

Python API

from sonnerrise_core import load_config, get_database
from sonnerrise_personas import PersonaRepository, PersonaCreate

config = load_config()
db = get_database(config)
db.create_tables()

repo = PersonaRepository(db)

# Create a persona
persona = repo.create(PersonaCreate(
    name="Epic Narrator",
    style_of_music="deep male voice, dramatic, orchestral",
))

# List personas
personas = repo.list(page=1, per_page=20)

# Search by name
results = repo.search("narrator")

# Update
repo.update(persona.id, PersonaUpdate(name="Epic Voice"))

# Delete
repo.delete(persona.id)

CLI

# List all personas
sonnerrise-personas list

# Create a new persona
sonnerrise-personas create --name "Epic Voice" --style "dramatic, orchestral"

# Show persona details
sonnerrise-personas show 1

# Update a persona
sonnerrise-personas update 1 --name "New Name"

# Delete a persona
sonnerrise-personas delete 1

# Search personas
sonnerrise-personas search "voice"

Persona Fields

Field Type Description
name string (max 48 chars) Persona name (required)
style_of_music string (max 1000 chars) Style description (optional)
parental_track_id integer Reference to parent track (optional)
comments text (max 32KB) Additional notes (optional)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sonnerrise_personas-0.1.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file sonnerrise_personas-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sonnerrise_personas-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a83b6b61d52ec3da8fad5d8fd63f4e1b856aa5767ff7e8bc136b329808cbbc8
MD5 287df37104d167852e3297de8dc0b9f2
BLAKE2b-256 819896998393544a8463bdb8a03d71b01767d84b1e61745ce651863cbdae9b4c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page