Guidance Scale
ما هو Guidance Scale؟
Guidance scale is a setting that controls how closely the AI follows your text prompt: turn it up and the model sticks more rigidly to your description; turn it down and the model takes more creative liberties.
في لمحة
- يُعرف أيضاً باسم
- CFG scaleClassifier-free guidance scalePrompt strength (in some interfaces)
- يُستخدم من أجل
- Controlling prompt adherence in diffusion model generationBalancing literal accuracy with aesthetic qualityTuning model behaviour for different creative goals
- أدوات شائعة
- Stable diffusionMidjourneyAUTOMATIC1111 WebUIComfyUIRunwayAny diffusion-based generation platform
- مصطلحات ذات صلة
- Diffusion modelPrompt engineeringNoise / denoisingSampling stepsLatent space
جاهز للإنشاء؟
أخرج المشاهد، صمم الشخصيات، وأنتج أفلاماً كاملة
منصة إبداعية متكاملة بالذكاء الاصطناعي بأسعار بسيطة وشفافة، بلا تقييد للسرعة، ومع Canvas بلا حدود لأقصى قدر من الإبداع.
كيف يُقارن
guidance scale controls how strongly the prompt influences each step of the denoising process, affecting adherence to content described in the text. Sampling steps controls how many denoising iterations the model performs in total, affecting the detail and coherence of the final output. Both parameters interact: more steps give guidance scale more opportunities to refine the output, but the two control fundamentally different aspects of the generation process.
نصيحة احترافية
When you cannot get a specific element from your prompt to appear in the output: a particular object, background detail, or compositional element: try increasing the guidance scale by two or three units before making other changes. If the output then looks harsh or oversaturated, you have found the upper limit for that prompt and model combination, and the issue is more likely with prompt phrasing or model capability than with the guidance setting.
الأنواع والاختلافات
- Different diffusion models have different effective guidance scale ranges.
- Models like Stable Diffusion 1.
- 5 typically perform well in the 7–12 range, while newer architectures such as SDXL and Flux may perform better at lower values.
- Some models use classifier-free guidance in modified forms: for example, applying it differently to image tokens versus text tokens: which can change the effective behaviour of the scale parameter even when its numerical range appears similar.
- Some platforms replace the numerical scale with descriptive presets, making guidance scale adjustment more accessible without exposing the underlying technical parameter.
جاهز لإنشاء أول مشهد لك في Morphic؟
جرّب Morphicحالات الاستخدام الشائعة
- Creators adjust guidance scale when their generated outputs are failing to include specific elements described in the prompt: raising the scale often makes these elements appear more consistently.
- Conversely, when generated images look harsh, over-saturated, or unnaturally rigid, lowering the scale often restores a more natural aesthetic quality.
- Fine-tuned or LoRA-adapted models may require lower guidance scales than base models because the fine-tuning has already specialised the model's prior toward the desired output domain, reducing the need for strong prompt steering.
جاهز للإنشاء؟
أخرج المشاهد، صمم الشخصيات، وأنتج أفلاماً كاملة
منصة إبداعية متكاملة بالذكاء الاصطناعي بأسعار بسيطة وشفافة، بلا تقييد للسرعة، ومع Canvas بلا حدود لأقصى قدر من الإبداع.