Skip to content

Commit

Permalink
✨ feat(README, playground): update prompts for image generation
Browse files Browse the repository at this point in the history
  • Loading branch information
sudoskys committed Jan 5, 2025
1 parent 9461a68 commit 5ff8f5a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ load_dotenv()
session = ApiCredential(api_token=SecretStr(os.getenv("NOVELAI_JWT"))) # pst-***
# For security reasons, storing user credentials in plaintext is strongly discouraged.

prompt = "1girl, fisheye, closeup, from above, head tilt, short hair, black hair, grey eyes, small breasts"
prompt = "2girls, closeup, from above"


async def main():
Expand All @@ -52,13 +52,14 @@ async def main():
model=Model.NAI_DIFFUSION_4_CURATED_PREVIEW,
character_prompts=[
Character(
prompt="1girl",
prompt="1girl, head tilt, short hair, black hair, grey eyes, small breasts, looking at viewer",
uc="red hair",
center=PositionMap.AUTO
center=PositionMap.B2
),
Character(
prompt="1boy",
center=PositionMap.E5
prompt="1girl, fox ears, fox tail, white hair, white tail, white ears",
uc="white hair",
center=PositionMap.D2
)
],
sampler=Sampler.K_EULER_ANCESTRAL,
Expand Down
4 changes: 2 additions & 2 deletions playground/generate_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


async def generate(
prompt="2girls, fisheye, closeup, from above"
prompt="2girls, closeup, from above"
):
jwt = os.getenv("NOVELAI_JWT", None)
if jwt is None:
Expand Down Expand Up @@ -56,7 +56,7 @@ async def generate(
center=PositionMap.B2
),
Character(
prompt="1girl, fox ears, fox tail, kitsunemimi, kitsune, white hair, white tail, white ears, white kitsune, white kitsunemimi",
prompt="1girl, fox ears, fox tail, white hair, white tail, white ears",
uc="white hair",
center=PositionMap.D2
)
Expand Down

0 comments on commit 5ff8f5a

Please sign in to comment.