Implement custom portrait generation: update API, UI, and localization to support user-defined prompts for portraits, replacing half-body option with custom variant.
This commit is contained in:
@@ -107,7 +107,12 @@ public class PortraitApiTests(AppHostFixture fixture)
|
||||
|
||||
private sealed record PersonListItem(string Id);
|
||||
|
||||
private sealed record PersonCardResponse(string Id, bool HasAvatar, bool HasHalfBody, bool HasFullBody);
|
||||
private sealed record PersonCardResponse(
|
||||
string Id,
|
||||
bool HasAvatar,
|
||||
bool HasCustom,
|
||||
bool HasFullBody,
|
||||
string? CustomPortraitPrompt);
|
||||
|
||||
private sealed record SavesDirectoryResponse(string Path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user