createEdit abstract method

  1. @Post(path: "/v1/edits")
Future<Response<Edit>> createEdit(
  1. @Body() EditRequest request
)

Creates a new edit for the provided input, instruction, and parameters

Implementation

@Post(path: "/v1/edits")
Future<Response<Edit>> createEdit(
  @Body() EditRequest request,
);