This post is a part of the AI-103: Develop AI Apps and Agents on Azure Exam Prep Hub.
This topic falls under these sections:
Implement computer vision solutions (10–15%)
--> Design and implement image- and video-generation solutions
--> Select and apply appropriate generation and editing controls provided by the platform
Note that there are 10 practice questions (with answers and explanations) at the end of each section to help you solidify your knowledge of the material. Also, there are 2 practice tests with 60 questions each available from the hub's main page below the exam topics section.
Introduction
Modern generative AI platforms provide many controls that influence how images and videos are generated or edited. These controls help developers:
- Improve output quality
- Maintain consistency
- Control creativity
- Optimize performance
- Enforce safety policies
- Reduce operational costs
For the AI-103 certification exam, you should understand how to select and apply the appropriate controls for:
- Image generation
- Video generation
- Image editing
- Video editing
- Multi-modal workflows
You should also understand:
- Prompt controls
- Resolution settings
- Style and creativity controls
- Safety filtering
- Masking and editing parameters
- Rendering settings
- Model selection
- Performance optimization
This topic falls under:
“Design and implement image- and video-generation solutions”
What Are Generation and Editing Controls?
Generation and editing controls are configurable parameters that influence how AI models produce or modify content.
Controls may affect:
- Creativity
- Style
- Resolution
- Consistency
- Motion
- Safety
- Latency
- Cost
These settings help tailor outputs to business and technical requirements.
Categories of Generation and Editing Controls
Common control categories include:
- Prompt controls
- Style controls
- Resolution controls
- Variation controls
- Safety controls
- Masking controls
- Temporal controls
- Rendering controls
- Performance controls
Prompt Controls
What Are Prompt Controls?
Prompt controls influence how the model interprets user instructions.
Prompts can define:
- Subject matter
- Artistic style
- Lighting
- Camera perspective
- Motion
- Environment
- Mood
Positive Prompts
Positive prompts specify desired characteristics.
Example:
A cinematic aerial view of a tropical island during sunset, ultra realistic, high detail
Negative Prompts
Negative prompts specify unwanted characteristics.
Example:
blurry, distorted, low quality, extra limbs
Negative prompts help improve output quality.
Prompt Weighting
What Is Prompt Weighting?
Prompt weighting emphasizes certain prompt elements more strongly.
Example:
sunset::2 tropical beach::1
This increases emphasis on:
sunset
relative to:
tropical beach
Style Controls
Purpose of Style Controls
Style controls influence artistic appearance.
Examples:
- Photorealistic
- Anime
- Watercolor
- Oil painting
- Cyberpunk
- Sketch
Style Reference Inputs
Platforms may allow reference images that guide:
- Artistic appearance
- Color palettes
- Composition
- Brand identity
Consistency Controls
Consistency controls help maintain:
- Character appearance
- Object structure
- Scene continuity
- Brand alignment
These are especially important in:
- Video generation
- Multi-image campaigns
- Character-based storytelling
Resolution Controls
What Are Resolution Controls?
Resolution controls determine image or video dimensions.
Examples:
- 512 × 512
- 1024 × 1024
- 4K video
Higher Resolution Tradeoffs
Higher resolutions improve:
- Detail
- Print quality
- Visual realism
However, they also increase:
- Rendering time
- GPU usage
- Storage requirements
- Cost
Aspect Ratio Controls
Aspect ratio defines image shape.
Examples:
| Aspect Ratio | Common Usage |
|---|---|
| 1:1 | Social media posts |
| 16:9 | Videos and widescreen |
| 9:16 | Mobile vertical video |
| 4:3 | Traditional displays |
Variation Controls
What Are Variation Controls?
Variation settings determine how different outputs are from one another.
Low variation:
- Produces consistent outputs
High variation:
- Produces more creative diversity
Seed Controls
What Is a Seed?
A seed is a numeric value used to initialize generation randomness.
Using the same:
- Prompt
- Model
- Parameters
- Seed
typically produces similar outputs.
Why Seeds Matter
Seeds help with:
- Reproducibility
- Testing
- Version control
- Collaborative workflows
Creativity Controls
Some platforms provide controls that influence:
- Creativity
- Randomness
- Prompt adherence
High Creativity Settings
High creativity may produce:
- Artistic outputs
- Unexpected compositions
- Diverse variations
Low Creativity Settings
Low creativity may produce:
- Predictable outputs
- Strong prompt adherence
- Stable business imagery
Sampling Controls
Sampling controls influence how models select outputs during generation.
These settings affect:
- Diversity
- Determinism
- Coherence
Temperature
Temperature controls randomness.
Low Temperature
Produces:
- More predictable outputs
- Stable results
High Temperature
Produces:
- More diverse outputs
- More creativity
Guidance Scale
What Is Guidance Scale?
Guidance scale controls how closely the model follows the prompt.
High Guidance Scale
Produces:
- Strong prompt adherence
- Less deviation
Low Guidance Scale
Produces:
- More creativity
- More variation
Editing Controls
Editing workflows often include specialized controls.
Mask Controls
Masks define editable regions.
Controls may include:
- Edge softness
- Mask opacity
- Region expansion
- Feathering
Inpainting Strength
What Is Inpainting Strength?
Inpainting strength determines how aggressively the model modifies masked regions.
Low Inpainting Strength
Preserves more of the original image.
High Inpainting Strength
Allows more dramatic modifications.
Blend Controls
Blend settings control how generated edits merge with original content.
This affects:
- Realism
- Transition smoothness
- Artifact reduction
Temporal Controls for Video
Video workflows require additional controls for:
- Motion consistency
- Frame continuity
- Camera movement
Frame Rate Controls
Frame rate determines:
- Motion smoothness
- Rendering complexity
Examples:
- 24 FPS
- 30 FPS
- 60 FPS
Motion Strength Controls
Motion controls influence:
- Animation intensity
- Camera movement
- Object motion
Temporal Consistency Controls
These controls reduce:
- Flickering
- Object distortion
- Scene instability
Especially important in:
- Video editing
- AI animation
- Multi-scene workflows
Rendering Controls
Rendering settings affect:
- Compression
- Encoding
- File size
- Playback quality
Output Format Controls
Common formats include:
- PNG
- JPEG
- MP4
- MOV
- WebM
Compression Settings
Higher compression:
- Smaller files
- Lower quality
Lower compression:
- Better quality
- Larger files
Safety Controls
Why Safety Controls Matter
Generative AI platforms include safety controls to reduce:
- Harmful content
- Unsafe imagery
- Policy violations
- Deepfake misuse
Azure AI Content Safety
Microsoft provides:
Azure AI Content Safety
to help detect:
- Unsafe prompts
- Harmful outputs
- Policy violations
Moderation Controls
Moderation settings may:
- Block unsafe generations
- Flag outputs for review
- Require human approval
Watermarking and Provenance Controls
Some platforms support:
- Watermarking
- Metadata tagging
- Provenance tracking
These help identify AI-generated content.
Performance Controls
Why Performance Controls Matter
Performance settings help balance:
- Quality
- Latency
- GPU usage
- Operational cost
Batch Size Controls
Batch generation creates multiple outputs simultaneously.
Advantages:
- Increased throughput
Tradeoffs:
- Higher GPU usage
Draft vs Final Rendering
Some workflows generate:
- Low-quality preview drafts
- High-quality final renders
This improves responsiveness.
GPU and Hardware Selection
Platforms may allow selection of:
- GPU tiers
- Compute capacity
- Rendering priority
Higher-end hardware improves:
- Speed
- Resolution capability
- Throughput
Workflow Orchestration Controls
Enterprise systems often orchestrate:
- Multiple generation stages
- Human review
- Safety validation
- Asset storage
- Automated rendering
Example Workflow
- User submits prompt
- Safety validation runs
- Generation parameters selected
- AI model generates outputs
- Variations produced
- Human review occurs
- Final assets stored
Azure Services Used in Generative Media Workflows
Azure OpenAI Service
Azure OpenAI Service
Supports:
- Multi-modal AI workflows
- Prompt-driven generation
- AI editing capabilities
Azure AI Foundry
Azure AI Foundry
Supports:
- Workflow orchestration
- Prompt flows
- Evaluation pipelines
- AI experimentation
Azure AI Vision
Azure AI Vision
Can support:
- Segmentation
- Object tracking
- Scene analysis
- Visual understanding
Azure Blob Storage
Azure Blob Storage
Frequently used for:
- Media storage
- Generated asset management
- Workflow integration
Azure Functions
Azure Functions
Often used for:
- Trigger-based workflows
- Rendering orchestration
- Automated pipelines
Observability and Monitoring
Production systems should monitor:
- Rendering latency
- Failed generations
- GPU utilization
- Safety violations
- Storage consumption
- Operational cost
Best Practices for Applying Controls
Match Controls to Business Goals
Balance realism, creativity, and consistency.
Use Safety Controls Consistently
Validate prompts and outputs.
Optimize Resolution Carefully
Higher quality increases compute cost.
Use Seeds for Reproducibility
Helpful for testing and collaboration.
Tune Creativity Settings
Choose stable or artistic outputs depending on requirements.
Apply Human Review for Sensitive Content
Especially important in regulated environments.
Monitor Performance and Cost
Generative workflows can become expensive.
Real-World Example
An advertising company may implement a workflow that:
- Generates multiple campaign images
- Applies:
- 16:9 aspect ratio
- High guidance scale
- Moderate creativity
- Consistent style reference
- Runs content safety checks
- Produces multiple output variations
- Stores approved assets in Blob Storage
This demonstrates:
- Prompt controls
- Style consistency
- Resolution management
- Safety enforcement
- Workflow orchestration
Exam Tips for AI-103
For the AI-103 exam, remember these important concepts:
- Prompt controls influence generation quality and style.
- Negative prompts reduce undesirable characteristics.
- Resolution and aspect ratio affect quality and performance.
- Seeds support reproducibility.
- Temperature and guidance scale influence creativity and prompt adherence.
- Masks define editable regions.
- Inpainting strength controls edit intensity.
- Temporal consistency controls are critical for video workflows.
- Safety controls help reduce harmful outputs.
- Azure AI Content Safety supports moderation workflows.
- GPU selection and rendering settings affect cost and latency.
Practice Exam Questions
Question 1
What is the purpose of a negative prompt in image generation?
A. Increasing GPU memory
B. Specifying unwanted characteristics in generated outputs
C. Compressing images automatically
D. Encrypting generated assets
Answer
B. Specifying unwanted characteristics in generated outputs
Explanation
Negative prompts help prevent undesirable features from appearing in generated media.
Question 2
What does a guidance scale primarily control?
A. Video compression ratio
B. How closely the model follows the prompt
C. Database indexing speed
D. Network bandwidth usage
Answer
B. How closely the model follows the prompt
Explanation
Higher guidance scales increase adherence to the prompt instructions.
Question 3
What is the primary benefit of using seeds in generative workflows?
A. Encrypting prompts
B. Improving reproducibility of outputs
C. Increasing storage capacity
D. Eliminating latency
Answer
B. Improving reproducibility of outputs
Explanation
Using the same seed and settings helps reproduce similar outputs.
Question 4
Which control directly affects output dimensions?
A. Temperature
B. Aspect ratio
C. Resolution settings
D. Sampling frequency
Answer
C. Resolution settings
Explanation
Resolution controls determine image or video dimensions.
Question 5
What is the purpose of temporal consistency controls in video workflows?
A. Compressing video metadata
B. Reducing flickering and unstable motion
C. Encrypting rendered frames
D. Eliminating frame rendering
Answer
B. Reducing flickering and unstable motion
Explanation
Temporal consistency helps maintain stable edits across frames.
Question 6
What does low temperature generally produce?
A. More predictable outputs
B. More artistic randomness
C. Higher network latency
D. Larger file sizes
Answer
A. More predictable outputs
Explanation
Lower temperature settings reduce randomness and increase consistency.
Question 7
Which Azure service helps moderate unsafe generated content?
A. Azure CDN
B. Azure AI Content Safety
C. Azure DNS
D. Azure Firewall
Answer
B. Azure AI Content Safety
Explanation
Azure AI Content Safety evaluates prompts and outputs for harmful content.
Question 8
What is the purpose of mask controls in editing workflows?
A. Defining editable image or video regions
B. Encrypting generated assets
C. Reducing GPU temperatures
D. Compressing output videos
Answer
A. Defining editable image or video regions
Explanation
Masks specify which regions may be modified during editing.
Question 9
Why might an organization generate low-resolution drafts before final rendering?
A. To improve responsiveness and reduce rendering cost
B. To remove prompts automatically
C. To eliminate all GPU usage
D. To encrypt media files
Answer
A. To improve responsiveness and reduce rendering cost
Explanation
Draft rendering allows faster previews before expensive high-quality rendering.
Question 10
What is a key tradeoff of higher-resolution generation?
A. Reduced image quality
B. Increased rendering cost and latency
C. Elimination of safety concerns
D. Lower GPU utilization
Answer
B. Increased rendering cost and latency
Explanation
Higher resolutions require more computational resources and rendering time.
Go to the AI-103 Exam Prep Hub main page
