Skip to main content

Visual identity for Kestrel Sovereign agents — avatar generation, selfies, and LoRA training for character consistency

Project description

kestrel-feature-visual

Visual identity for Kestrel Sovereign agents — avatar generation, selfies, and LoRA training for character consistency. Uses Replicate for image generation with optional LoRA training for consistent visual identity across generated images.

Installation

uv pip install kestrel-feature-visual

The feature is auto-discovered by Kestrel Sovereign via the kestrel_sovereign.features entry point — install it alongside kestrel-sovereign and the VisualIdentityFeature registers itself at startup.

Configuration

Variable Description
REPLICATE_API_TOKEN Replicate API token for image generation (required for avatar/selfie tools)

Tools provided

  • generate_avatar — Create a portrait avatar from a description
  • generate_selfie — Generate a selfie in various scenes (casual, portrait, glamour, flirty, cozy, adventure, mysterious, romantic, playful, dreamy, confident)
  • train_lora — Kick off LoRA training for character consistency (requires kestrel-feature-lora or another training provider installed alongside)

Dependencies

  • kestrel-sovereign-sdk>=0.1,<1 — base Feature, tool, and ToolCategory interfaces
  • replicate>=1.0.4 — Replicate API client
  • httpx>=0.27.0 — HTTP transport

Development

uv pip install -e '.[test]'
uv run pytest

License

Apache-2.0

Project details


Download files

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

Source Distribution

kestrel_feature_visual-0.1.0.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

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

kestrel_feature_visual-0.1.0-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file kestrel_feature_visual-0.1.0.tar.gz.

File metadata

  • Download URL: kestrel_feature_visual-0.1.0.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kestrel_feature_visual-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ec524e09f4211f5d0cca3cb725446a8fb31da00c99dd5737f8115012870d1f8f
MD5 bdd6f22d0f50e2b6b10cba48c2fe6e73
BLAKE2b-256 87a52845f204a92c68239d7e789db34a3fccca3c27933ad55a731a44e94f080e

See more details on using hashes here.

Provenance

The following attestation bundles were made for kestrel_feature_visual-0.1.0.tar.gz:

Publisher: publish.yml on KestrelSovereignAI/kestrel-feature-visual

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for kestrel_feature_visual-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0bd40585bd81d1603f8618a4c0743f03e5ff8c46dc7e538a9d06a3cd137201ff
MD5 7bbfaa4a65e52f85317d40bf0a207a0c
BLAKE2b-256 3a98071e36ca0dc9d20efff9199e55d520f1242dee6de6a274bb1da368161d10

See more details on using hashes here.

Provenance

The following attestation bundles were made for kestrel_feature_visual-0.1.0-py3-none-any.whl:

Publisher: publish.yml on KestrelSovereignAI/kestrel-feature-visual

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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