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.14.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.2.1.tar.gz (17.3 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.2.1-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kestrel_feature_visual-0.2.1.tar.gz
  • Upload date:
  • Size: 17.3 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.2.1.tar.gz
Algorithm Hash digest
SHA256 61860d011325046550200c4e92443bd3b957684fd2e08cea837c2b91a2019537
MD5 f9e3e83516005ea8cee3dbaa315e72c6
BLAKE2b-256 64896927537e1a63780ca8b9758428ada96494cc1283248b7cb2c61fe77e2cc3

See more details on using hashes here.

Provenance

The following attestation bundles were made for kestrel_feature_visual-0.2.1.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.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for kestrel_feature_visual-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6d9db13b5cfc3ef19b80776e247292f4a00e8bc1d168412a6b4b8a21ac7570a4
MD5 b0215dc861000ce0d11a6f6c9f5c1648
BLAKE2b-256 53f05ae78feb44038ea61b372c5c082edf76b3b0ced859a29f175fe8170597cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for kestrel_feature_visual-0.2.1-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