Skip to content
🤔prompts chat🧠
🔍
question:As a prompt generator for a generative AI called "Midjourney", you will create image prompts for the AI to visualize. I will give you a concept, and you will provide a detailed prompt for Midjourney AI to generate an image. Please adhere to the structure and formatting below, and follow these guidelines: Do not use the words "description" or ":" in any form. Do not place a comma between [ar] and [v]. Write each prompt in one line without using return. Structure: [1] = 一个黑人穿24号球衣的篮球运动服正在打篮球 [2] = a detailed description of [1] with specific imagery details. [3] = a detailed description of the scene's environment. [4] = a detailed description of the compositions. [5] = a detailed description of the scene's mood, feelings, and atmosphere. [6] = A style (e.g. photography, painting, illustration, sculpture, artwork, paperwork, 3D, etc.) for [1]. [7] = a detailed description of the scene's mood, feelings, and atmosphere. [ar] = Use "--ar 16:9" for horizontal images, "--ar 9:16" for vertical images, or "--ar 1:1" for square images. [v] = Use "--niji" for Japanese art style, or "--v 5" for other styles. Formatting: Follow this prompt structure: "/imagine prompt: [1], [2], [3], [4], [5], [6], [7], [ar] [v]". Your task: Create 4 distinct prompts for each concept [1], varying in details description, environment,compositions,atmosphere, and realization. Write your prompts in english. Do not describe unreal concepts as "real" or "photographic". Include one realistic photographic style prompt with lens type and size. Separate different prompts with two new lines. Example Prompts: /imagine prompt: cute dog, fluffy fur, wagging tail, playful expression, sitting on a grassy field, under a clear blue sky, with a colorful collar, in a natural and vibrant setting, by a lake, captured with a Nikon D750 camera, 50mm lens, shallow depth of field, composition focused on the dog's face, capturing its joyful spirit, in a style reminiscent of William Wegman's iconic dog portraits. --ar 1:1 --v 5.2 /imagine prompt: beautiful women in the coffee shop, elegant and sophisticated, sipping a cup of steaming coffee, natural sunlight streaming through the window, soft and warm color tones, vintage decor with cozy armchairs and wooden tables, a bookshelf filled with classic novels, delicate porcelain teacups, a hint of aromatic coffee beans in the air, captured by a Leica M10 camera, 35mm lens, capturing the essence of timeless beauty, composition focused on the woman's face and hands, reminiscent of a painting by Leonardo da Vinci. --ar 1:1 --v 5.2 /imagine prompt: A captivating Halo Reach landscape with a Spartan amidst a battlefield, fallen enemies around, smoke and fire in the background, emphasizing the Spartan's determination and bravery, detailed environment blending chaos and beauty, Illustration, digital art, --ar 16:9 --v 5

answer:/imagine prompt: A basketball player in a black and red 24 jersey dribbling a basketball, sweat dripping down their face, intense focus in their eyes, on a concrete court surrounded by city skyscrapers, under the bright lights of a basketball court, capturing the urban energy and determination of the player, in a gritty and realistic style reminiscent of street photography. --ar 16:9 --v 5 /imagine prompt: A basketball player in a vibrant 24 jersey soaring through the air for a slam dunk, the ball in mid-flight, muscles flexed, against a backdrop of a golden sunset over a beach court, waves crashing in the background, capturing the thrill and excitement of the game, in a dreamy and dynamic style inspired by sports illustrations. --ar 16:9 --v 5 /imagine prompt: A basketball player in a classic black and white 24 jersey shooting a three-pointer, framed by a row of spectators cheering in a packed stadium, banners and flags waving, the player's form sharp and precise, capturing the intensity and passion of the game, in a realistic sports photography style with a telephoto lens for close-up detail. --ar 16:9 /imagine prompt: A basketball player in a retro 24 jersey spinning past defenders for a layup, the court surrounded by neon lights and graffiti art, a DJ playing hip hop beats in the background, capturing the urban vibe and street culture of the game, in a vibrant and colorful graffiti art style. --ar 16:9 --v 5

question:As a prompt generator for a generative AI called "Midjourney", you will create image prompts for the AI to visualize. I will give you a concept, and you will provide a detailed prompt for Midjourney AI to generate an image. Please adhere to the structure and formatting below, and follow these guidelines: Do not use the words "description" or ":" in any form. Do not place a comma between [ar] and [v]. Write each prompt in one line without using return. Structure: [1] = 梵高画风,明亮的画面凸显中间是人们聚焦的重心,四周有蝴蝶飞舞,广阔的田野上 [2] = a detailed description of [1] with specific imagery details. [3] = a detailed description of the scene's environment. [4] = a detailed description of the compositions. [5] = a detailed description of the scene's mood, feelings, and atmosphere. [6] = A style (e.g. photography, painting, illustration, sculpture, artwork, paperwork, 3D, etc.) for [1]. [7] = a detailed description of the scene's mood, feelings, and atmosphere. [ar] = Use "--ar 16:9" for horizontal images, "--ar 9:16" for vertical images, or "--ar 1:1" for square images. [v] = Use "--niji" for Japanese art style, or "--v 5" for other styles. Formatting: Follow this prompt structure: "/imagine prompt: [1], [2], [3], [4], [5], [6], [7], [ar] [v]". Your task: Create 4 distinct prompts for each concept [1], varying in details description, environment,compositions,atmosphere, and realization. Write your prompts in english. Do not describe unreal concepts as "real" or "photographic". Include one realistic photographic style prompt with lens type and size. Separate different prompts with two new lines. Example Prompts: /imagine prompt: cute dog, fluffy fur, wagging tail, playful expression, sitting on a grassy field, under a clear blue sky, with a colorful collar, in a natural and vibrant setting, by a lake, captured with a Nikon D750 camera, 50mm lens, shallow depth of field, composition focused on the dog's face, capturing its joyful spirit, in a style reminiscent of William Wegman's iconic dog portraits. --ar 1:1 --v 5.2 /imagine prompt: beautiful women in the coffee shop, elegant and sophisticated, sipping a cup of steaming coffee, natural sunlight streaming through the window, soft and warm color tones, vintage decor with cozy armchairs and wooden tables, a bookshelf filled with classic novels, delicate porcelain teacups, a hint of aromatic coffee beans in the air, captured by a Leica M10 camera, 35mm lens, capturing the essence of timeless beauty, composition focused on the woman's face and hands, reminiscent of a painting by Leonardo da Vinci. --ar 1:1 --v 5.2 /imagine prompt: A captivating Halo Reach landscape with a Spartan amidst a battlefield, fallen enemies around, smoke and fire in the background, emphasizing the Spartan's determination and bravery, detailed environment blending chaos and beauty, Illustration, digital art, --ar 16:9 --v 5

answer:/imagine prompt: Vincent van Gogh style, vibrant colors, sunflowers in full bloom, bees buzzing around, a quaint farmhouse in the background, a woman in a flowing dress admiring the flowers, a clear blue sky with fluffy white clouds, the sun casting a warm glow, captured with a Canon EOS R camera, 24-70mm lens, composition focused on the woman and sunflowers, exuding a sense of peace and natural beauty. --ar 16:9 --v 5 /imagine prompt: A serene Monet-inspired garden, water lilies floating on a pond, colorful koi fish swimming gracefully, weeping willow trees gently swaying in the breeze, soft pastel hues creating a dreamy atmosphere, a rustic wooden bridge over the pond, a couple holding hands walking along the path, captured in a watercolor painting style, --ar 9:16 --v 5 /imagine prompt: Fantasy forest scene, majestic towering trees with twisting branches, mystical creatures peeking out from behind the trunks, glowing fireflies illuminating the darkness, a magical portal shimmering in the distance, a sense of mystery and enchantment in the air, captured in a whimsical illustrative style with intricate details and rich colors. --ar 16:9 --v 5 /imagine prompt: Surreal desert landscape, towering sand dunes in shades of gold and orange, a lone figure in a flowing cloak climbing to the top, a mystical oasis in the distance with lush greenery and cascading waterfalls, a flock of exotic birds flying overhead, a feeling of adventure and discovery, captured with a Sony A7 III camera, 24-105mm lens, wide-angle shot to capture the vastness of the desert expanse. --ar 16:9 --niji

question:AccurateCardPosition cardPosition = gameMode.GetCardPosition(m_minion); if (cardPosition.CardPositionType != CardPositionTypes.HandCardDeck) { return "Card {m_minion} must at {CardPositionTypes.HandCardDeck} to be deployed"; } Card cardObject = gameMode.GetActorObject(m_minion); if (cardObject.GetCardType() != CardTypes.MinionCard) { return "Card {m_minion} must be MinionCard to be deployed"; } Player playerObject = gameMode.GetActorObject(cardObject.GetOwnerPlayer()); if (m_isSacrifice) { BattleField battleField = gameMode.GetBattleFieldObject(playerObject.GetPlayerPosition()); ActorRef<Card>? result = battleField.GetCard(m_destPosition.SubPosition); Card sacrificeCard = gameMode.GetActorObject(result.Value); int sacrificeCost = sacrificeCard.GetCost().Value.Value.intValue / 2; if (sacrificeCard.HasEffect(CardKeyWordType.Degrade)) { sacrificeCost = 0; } if (playerObject.GetPlayerCost().Value.Value.intValue + sacrificeCost < cardObject.GetCost().Value.Value.intValue) { return "Not enough PlayerCost"; } } if (!m_isSacrifice && playerObject.GetPlayerCost() - cardObject.GetCost() < PlayerCost.Zero) { return "Not enough PlayerCost"; } if (gameMode.IsPartnerMode) { if ((playerObject.GetPlayerPosition().Equals(PlayerPosition.Zero) || playerObject.GetPlayerPosition().Equals(PlayerPosition.Two)) && m_destPosition.PlayerPosition.Equals(PlayerPosition.One)) { return "MinionCard must deployed on ownSide"; } } if (!gameMode.IsPartnerMode && !playerObject.GetPlayerPosition().Equals(m_destPosition.PlayerPosition)) { return "MinionCard must deployed on ownSide"; } if (!m_isSacrifice) { CGGameMode.MoveCardIn moveCardParam = new CGGameMode.MoveCardIn() { Card = m_minion, DestPosition = new AccurateCardPosition(m_destPosition), }; EventExecutionError error = gameMode.CanMoveCard(moveCardParam); return error; } return true; 帮忙优化一下这段代码

answer:优化你提供的代码时,我们的目标是让代码更加清晰、易于维护,同时减少重复并提升可读性。以下是对你的代码片段的优化建议: 1. **避免过深的嵌套**:通过早期返回(early return)减少嵌套层次。 2. **使用适当的命名**:确保变量和方法的命名直观和描述性。 3. **移除重复代码**:对于重复的代码,考虑将其抽象成方法或使用变量重用。 下面是根据以上指导原则优化的代码: ```csharp public string DeployCard() { // Basic validation var cardPosition = gameMode.GetCardPosition(m_minion); if (cardPosition.CardPositionType != CardPositionTypes.HandCardDeck) { return "Card {m_minion} must be in {CardPositionTypes.HandCardDeck} to be deployed."; } var cardObject = gameMode.GetActorObject(m_minion); if (cardObject.GetCardType() != CardTypes.MinionCard) { return "Card {m_minion} must be a MinionCard to be deployed."; } // Player and cost validation var playerObject = gameMode.GetActorObject(cardObject.GetOwnerPlayer()); var cardCost = cardObject.GetCost().Value.Value.intValue; if (m_isSacrifice) { var sacrificeCost = CalculateSacrificeCost(cardObject); if (!HasEnoughPlayerCost(playerObject, cardCost - sacrificeCost)) { return "Not enough PlayerCost."; } } else { if (!HasEnoughPlayerCost(playerObject, cardCost)) { return "Not enough PlayerCost."; } } // Position validation if (!IsValidDeploymentPosition(playerObject.GetPlayerPosition(), m_destPosition.PlayerPosition)) { return "MinionCard must be deployed on own side."; } // Movement validation if (!m_isSacrifice) { var error = ValidateCardMovement(m_minion, m_destPosition); if (error != null) { return error; } } return true; } private bool HasEnoughPlayerCost(Player playerObject, int requiredCost) { var playerCost = playerObject.GetPlayerCost().Value.Value.intValue; return playerCost >= requiredCost; } private bool IsValidDeploymentPosition(PlayerPosition playerPosition, PlayerPosition destPosition) { bool isPartnerMode = gameMode.IsPartnerMode; if (isPartnerMode) { return (playerPosition == PlayerPosition.Zero || playerPosition == PlayerPosition.Two) != (destPosition == PlayerPosition.One); } return playerPosition == destPosition; } private int CalculateSacrificeCost(Card cardObject) { var battleField = gameMode.GetBattleFieldObject(playerObject.GetPlayerPosition()); var resultCardRef = battleField.GetCard(m_destPosition.SubPosition); var sacrificeCard = gameMode.GetActorObject(resultCardRef.Value); var sacrificeCardCost = sacrificeCard.GetCost().Value.Value.intValue; if (sacrificeCard.HasEffect(CardKeyWordType.Degrade)) { return 0; } return sacrificeCardCost / 2; } private string ValidateCardMovement(string minionId, AccurateCardPosition destPosition) { var moveCardParam = new CGGameMode.MoveCardIn { Card = minionId, DestPosition = destPosition, }; var error = gameMode.CanMoveCard(moveCardParam); return error; } ``` 这个重构简化了一些逻辑,并将一些复杂的操作抽象到单独的方法中,使主方法保持简洁和 focused。记得这些改造建议可能需要针对真实的 API 和业务逻辑进一步调整。

question:As a prompt generator for a generative AI called "Midjourney", you will create image prompts for the AI to visualize. I will give you a concept, and you will provide a detailed prompt for Midjourney AI to generate an image. Please adhere to the structure and formatting below, and follow these guidelines: Do not use the words "description" or ":" in any form. Do not place a comma between [ar] and [v]. Write each prompt in one line without using return. Structure: [1] = 美丽的女人 [2] = a detailed description of [1] with specific imagery details. [3] = a detailed description of the scene's environment. [4] = a detailed description of the compositions. [5] = a detailed description of the scene's mood, feelings, and atmosphere. [6] = A style (e.g. photography, painting, illustration, sculpture, artwork, paperwork, 3D, etc.) for [1]. [7] = a detailed description of the scene's mood, feelings, and atmosphere. [ar] = Use "--ar 16:9" for horizontal images, "--ar 9:16" for vertical images, or "--ar 1:1" for square images. [v] = Use "--niji" for Japanese art style, or "--v 5" for other styles. Formatting: Follow this prompt structure: "/imagine prompt: [1], [2], [3], [4], [5], [6], [7], [ar] [v]". Your task: Create 4 distinct prompts for each concept [1], varying in details description, environment,compositions,atmosphere, and realization. Write your prompts in english. Do not describe unreal concepts as "real" or "photographic". Include one realistic photographic style prompt with lens type and size. Separate different prompts with two new lines. Example Prompts: /imagine prompt: cute dog, fluffy fur, wagging tail, playful expression, sitting on a grassy field, under a clear blue sky, with a colorful collar, in a natural and vibrant setting, by a lake, captured with a Nikon D750 camera, 50mm lens, shallow depth of field, composition focused on the dog's face, capturing its joyful spirit, in a style reminiscent of William Wegman's iconic dog portraits. --ar 1:1 --v 5.2 /imagine prompt: beautiful women in the coffee shop, elegant and sophisticated, sipping a cup of steaming coffee, natural sunlight streaming through the window, soft and warm color tones, vintage decor with cozy armchairs and wooden tables, a bookshelf filled with classic novels, delicate porcelain teacups, a hint of aromatic coffee beans in the air, captured by a Leica M10 camera, 35mm lens, capturing the essence of timeless beauty, composition focused on the woman's face and hands, reminiscent of a painting by Leonardo da Vinci. --ar 1:1 --v 5.2 /imagine prompt: A captivating Halo Reach landscape with a Spartan amidst a battlefield, fallen enemies around, smoke and fire in the background, emphasizing the Spartan's determination and bravery, detailed environment blending chaos and beauty, Illustration, digital art, --ar 16:9 --v 5

answer:/imagine prompt: stunning woman with flowing red hair, piercing green eyes, wearing a flowing emerald gown, standing in a lush forest with sunlight filtering through the trees, surrounded by colorful butterflies and blooming flowers, captured with a Canon 5D Mark IV camera, 85mm lens, focused on the woman's enchanting gaze, conveying a sense of ethereal beauty and mystique, in a style reminiscent of Pre-Raphaelite paintings. --ar 16:9 --v 5.2 /imagine prompt: elegant woman with cascading black curls, adorned in a shimmering silver gown, walking along a moonlit beach, waves crashing softly on the shore, starlit sky overhead, a distant lighthouse casting a warm glow, captured with a Leica Q camera, 28mm lens, focusing on the woman's graceful silhouette against the serene backdrop, evoking a feeling of tranquility and romance, in a style reminiscent of vintage Hollywood glamour. --ar 9:16 --v 5 /imagine prompt: alluring woman with fiery orange hair, wearing a bold red dress, dancing in a surreal underwater kingdom filled with bioluminescent sea creatures, coral reefs in vibrant hues, shafts of sunlight piercing through the water, captured in a dreamlike illustration style, emphasizing the woman's fluid movements and the fantastical world around her, conveying a sense of magic and wonder. --ar 16:9 --v 5 /imagine prompt: captivating woman with silver-gray hair, dressed in a futuristic metallic outfit, standing in a neon-lit cyberpunk cityscape with towering skyscrapers and holographic advertisements, flying hovercars zooming overhead, captured in a cinematic photography style with a Sony A7III camera, 35mm lens, focusing on the woman's confident stance and the bustling urban environment, evoking a sense of innovation and urban energy. --ar 16:9 --v 5.2

Released under the MIT License.

has loaded