first commit
This commit is contained in:
commit
b344b6a03f
16 changed files with 405 additions and 0 deletions
11
Models/GenerateImageRequest.cs
Normal file
11
Models/GenerateImageRequest.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace StitcherApi.Models
|
||||
{
|
||||
public record GenerateImageRequest(
|
||||
[property: JsonPropertyName("canvas_rect")] string CanvasRect,
|
||||
[property: JsonPropertyName("crop_offset")] float[] CropOffset,
|
||||
[property: JsonPropertyName("crop_size")] float[] CropSize,
|
||||
[property: JsonPropertyName("output_scale")] float OutputScale
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue