v1

package
v0.3.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GenerateImageRequest_Preset_name = map[int32]string{
		0: "PRESET_UNSPECIFIED",
		1: "PRESET_SKYBOX",
		2: "PRESET_PICTURE",
		3: "PRESET_TEXTURE",
	}
	GenerateImageRequest_Preset_value = map[string]int32{
		"PRESET_UNSPECIFIED": 0,
		"PRESET_SKYBOX":      1,
		"PRESET_PICTURE":     2,
		"PRESET_TEXTURE":     3,
	}
)

Enum value maps for GenerateImageRequest_Preset.

View Source
var (
	GenerateAudioRequest_Preset_name = map[int32]string{
		0: "PRESET_UNSPECIFIED",
		1: "PRESET_MUSIC",
	}
	GenerateAudioRequest_Preset_value = map[string]int32{
		"PRESET_UNSPECIFIED": 0,
		"PRESET_MUSIC":       1,
	}
)

Enum value maps for GenerateAudioRequest_Preset.

View Source
var (
	VoiceModel_Gender_name = map[int32]string{
		0: "GENDER_UNSPECIFIED",
		1: "GENDER_MALE",
		2: "GENDER_FEMALE",
		3: "GENDER_NEUTRAL",
	}
	VoiceModel_Gender_value = map[string]int32{
		"GENDER_UNSPECIFIED": 0,
		"GENDER_MALE":        1,
		"GENDER_FEMALE":      2,
		"GENDER_NEUTRAL":     3,
	}
)

Enum value maps for VoiceModel_Gender.

View Source
var (
	PromptFor3DModel_ArtStyle_name = map[int32]string{
		0: "ART_STYLE_UNSPECIFIED",
		1: "ART_STYLE_REALISTIC",
		2: "ART_STYLE_VOXEL",
		3: "ART_STYLE_FAKE_3D_CARTOON",
		4: "ART_STYLE_JAPANESE_ANIME",
		5: "ART_STYLE_CARTOON_LINE_ART",
		6: "ART_STYLE_REALISTIC_HAND_DRAWN",
		7: "ART_STYLE_FAKE_3D_HAND_DRAWN",
		8: "ART_STYLE_ORIENTAL_COMIC_INK",
	}
	PromptFor3DModel_ArtStyle_value = map[string]int32{
		"ART_STYLE_UNSPECIFIED":          0,
		"ART_STYLE_REALISTIC":            1,
		"ART_STYLE_VOXEL":                2,
		"ART_STYLE_FAKE_3D_CARTOON":      3,
		"ART_STYLE_JAPANESE_ANIME":       4,
		"ART_STYLE_CARTOON_LINE_ART":     5,
		"ART_STYLE_REALISTIC_HAND_DRAWN": 6,
		"ART_STYLE_FAKE_3D_HAND_DRAWN":   7,
		"ART_STYLE_ORIENTAL_COMIC_INK":   8,
	}
)

Enum value maps for PromptFor3DModel_ArtStyle.

View Source
var (
	PromptFor3DModel_Resolution_name = map[int32]string{
		0: "RESOLUTION_UNSPECIFIED",
		1: "RESOLUTION_1024",
		2: "RESOLUTION_2048",
		3: "RESOLUTION_4096",
	}
	PromptFor3DModel_Resolution_value = map[string]int32{
		"RESOLUTION_UNSPECIFIED": 0,
		"RESOLUTION_1024":        1,
		"RESOLUTION_2048":        2,
		"RESOLUTION_4096":        3,
	}
)

Enum value maps for PromptFor3DModel_Resolution.

View Source
var (
	GetGenerated3DModelResultResponse_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "STATUS_PENDING",
		2: "STATUS_SUCCESS",
		3: "STATUS_FAILURE",
	}
	GetGenerated3DModelResultResponse_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"STATUS_PENDING":     1,
		"STATUS_SUCCESS":     2,
		"STATUS_FAILURE":     3,
	}
)

Enum value maps for GetGenerated3DModelResultResponse_Status.

View Source
var (
	PromptFor3DModelTexture_ArtStyle_name = map[int32]string{
		0: "ART_STYLE_UNSPECIFIED",
		1: "ART_STYLE_REALISTIC",
		2: "ART_STYLE_FAKE_3D_CARTOON",
		3: "ART_STYLE_JAPANESE_ANIME",
		4: "ART_STYLE_CARTOON_LINE_ART",
		5: "ART_STYLE_REALISTIC_HAND_DRAWN",
		6: "ART_STYLE_FAKE_3D_HAND_DRAWN",
		7: "ART_STYLE_ORIENTAL_COMIC_INK",
	}
	PromptFor3DModelTexture_ArtStyle_value = map[string]int32{
		"ART_STYLE_UNSPECIFIED":          0,
		"ART_STYLE_REALISTIC":            1,
		"ART_STYLE_FAKE_3D_CARTOON":      2,
		"ART_STYLE_JAPANESE_ANIME":       3,
		"ART_STYLE_CARTOON_LINE_ART":     4,
		"ART_STYLE_REALISTIC_HAND_DRAWN": 5,
		"ART_STYLE_FAKE_3D_HAND_DRAWN":   6,
		"ART_STYLE_ORIENTAL_COMIC_INK":   7,
	}
)

Enum value maps for PromptFor3DModelTexture_ArtStyle.

View Source
var (
	PromptFor3DModelTexture_Resolution_name = map[int32]string{
		0: "RESOLUTION_UNSPECIFIED",
		1: "RESOLUTION_1024",
		2: "RESOLUTION_2048",
		3: "RESOLUTION_4096",
	}
	PromptFor3DModelTexture_Resolution_value = map[string]int32{
		"RESOLUTION_UNSPECIFIED": 0,
		"RESOLUTION_1024":        1,
		"RESOLUTION_2048":        2,
		"RESOLUTION_4096":        3,
	}
)

Enum value maps for PromptFor3DModelTexture_Resolution.

View Source
var (
	GetGenerated3DModelTextureResultResponse_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "STATUS_PENDING",
		2: "STATUS_SUCCESS",
		3: "STATUS_FAILURE",
	}
	GetGenerated3DModelTextureResultResponse_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"STATUS_PENDING":     1,
		"STATUS_SUCCESS":     2,
		"STATUS_FAILURE":     3,
	}
)

Enum value maps for GetGenerated3DModelTextureResultResponse_Status.

View Source
var AIService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "basket.ai_service.v1.AIService",
	HandlerType: (*AIServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GenerateImage",
			Handler:    _AIService_GenerateImage_Handler,
		},
		{
			MethodName: "GenerateAudio",
			Handler:    _AIService_GenerateAudio_Handler,
		},
		{
			MethodName: "GenerateText",
			Handler:    _AIService_GenerateText_Handler,
		},
		{
			MethodName: "Generate3DModel",
			Handler:    _AIService_Generate3DModel_Handler,
		},
		{
			MethodName: "Generate3DModelTexture",
			Handler:    _AIService_Generate3DModelTexture_Handler,
		},
		{
			MethodName: "GenerateTextForGameCharacter",
			Handler:    _AIService_GenerateTextForGameCharacter_Handler,
		},
		{
			MethodName: "CreateSpeechAudioFile",
			Handler:    _AIService_CreateSpeechAudioFile_Handler,
		},
		{
			MethodName: "ExtractTextFromSpeech",
			Handler:    _AIService_ExtractTextFromSpeech_Handler,
		},
		{
			MethodName: "GetVoiceLanguages",
			Handler:    _AIService_GetVoiceLanguages_Handler,
		},
		{
			MethodName: "GetVoiceModels",
			Handler:    _AIService_GetVoiceModels_Handler,
		},
		{
			MethodName: "GenerateVoice",
			Handler:    _AIService_GenerateVoice_Handler,
		},
		{
			MethodName: "GetGenerated3DModelResult",
			Handler:    _AIService_GetGenerated3DModelResult_Handler,
		},
		{
			MethodName: "GetGenerated3DModelTextureResult",
			Handler:    _AIService_GetGenerated3DModelTextureResult_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "basket/ai-service/v1/ai.proto",
}

AIService_ServiceDesc is the grpc.ServiceDesc for AIService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_basket_ai_service_v1_ai_proto protoreflect.FileDescriptor

Functions

func RegisterAIServiceServer

func RegisterAIServiceServer(s grpc.ServiceRegistrar, srv AIServiceServer)

Types

type AIServiceClient

type AIServiceClient interface {
	GenerateImage(ctx context.Context, in *GenerateImageRequest, opts ...grpc.CallOption) (*GenerateImageResponse, error)
	GenerateAudio(ctx context.Context, in *GenerateAudioRequest, opts ...grpc.CallOption) (*GenerateAudioResponse, error)
	GenerateText(ctx context.Context, in *GenerateTextRequest, opts ...grpc.CallOption) (*GenerateTextResponse, error)
	Generate3DModel(ctx context.Context, in *Generate3DModelRequest, opts ...grpc.CallOption) (*Generate3DModelResponse, error)
	Generate3DModelTexture(ctx context.Context, in *Generate3DModelTextureRequest, opts ...grpc.CallOption) (*Generate3DModelTextureResponse, error)
	GenerateTextForGameCharacter(ctx context.Context, in *GenerateTextForGameCharacterRequest, opts ...grpc.CallOption) (*GenerateTextForGameCharacterResponse, error)
	CreateSpeechAudioFile(ctx context.Context, in *CreateSpeechAudioFileRequest, opts ...grpc.CallOption) (*CreateSpeechAudioFileResponse, error)
	ExtractTextFromSpeech(ctx context.Context, in *ExtractTextFromSpeechRequest, opts ...grpc.CallOption) (*ExtractTextFromSpeechResponse, error)
	GetVoiceLanguages(ctx context.Context, in *GetVoiceLanguagesRequest, opts ...grpc.CallOption) (*GetVoiceLanguagesResponse, error)
	GetVoiceModels(ctx context.Context, in *GetVoiceModelsRequest, opts ...grpc.CallOption) (*GetVoiceModelsResponse, error)
	GenerateVoice(ctx context.Context, in *GenerateVoiceRequest, opts ...grpc.CallOption) (*GenerateVoiceResponse, error)
	GetGenerated3DModelResult(ctx context.Context, in *GetGenerated3DModelResultRequest, opts ...grpc.CallOption) (*GetGenerated3DModelResultResponse, error)
	GetGenerated3DModelTextureResult(ctx context.Context, in *GetGenerated3DModelTextureResultRequest, opts ...grpc.CallOption) (*GetGenerated3DModelTextureResultResponse, error)
}

AIServiceClient is the client API for AIService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAIServiceClient

func NewAIServiceClient(cc grpc.ClientConnInterface) AIServiceClient

type AIServiceServer

AIServiceServer is the server API for AIService service. All implementations must embed UnimplementedAIServiceServer for forward compatibility

type CreateSpeechAudioFileRequest added in v0.2.181

type CreateSpeechAudioFileRequest struct {
	// contains filtered or unexported fields
}

func (*CreateSpeechAudioFileRequest) Descriptor deprecated added in v0.2.181

func (*CreateSpeechAudioFileRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSpeechAudioFileRequest.ProtoReflect.Descriptor instead.

func (*CreateSpeechAudioFileRequest) ProtoMessage added in v0.2.181

func (*CreateSpeechAudioFileRequest) ProtoMessage()

func (*CreateSpeechAudioFileRequest) ProtoReflect added in v0.2.181

func (*CreateSpeechAudioFileRequest) Reset added in v0.2.181

func (x *CreateSpeechAudioFileRequest) Reset()

func (*CreateSpeechAudioFileRequest) String added in v0.2.181

type CreateSpeechAudioFileResponse added in v0.2.181

type CreateSpeechAudioFileResponse struct {
	AudioFileId string `protobuf:"bytes,1,opt,name=audio_file_id,json=audioFileId,proto3" json:"audio_file_id,omitempty"`
	UploadUrl   string `protobuf:"bytes,2,opt,name=upload_url,json=uploadUrl,proto3" json:"upload_url,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSpeechAudioFileResponse) Descriptor deprecated added in v0.2.181

func (*CreateSpeechAudioFileResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateSpeechAudioFileResponse.ProtoReflect.Descriptor instead.

func (*CreateSpeechAudioFileResponse) GetAudioFileId added in v0.2.181

func (x *CreateSpeechAudioFileResponse) GetAudioFileId() string

func (*CreateSpeechAudioFileResponse) GetUploadUrl added in v0.2.181

func (x *CreateSpeechAudioFileResponse) GetUploadUrl() string

func (*CreateSpeechAudioFileResponse) ProtoMessage added in v0.2.181

func (*CreateSpeechAudioFileResponse) ProtoMessage()

func (*CreateSpeechAudioFileResponse) ProtoReflect added in v0.2.181

func (*CreateSpeechAudioFileResponse) Reset added in v0.2.181

func (x *CreateSpeechAudioFileResponse) Reset()

func (*CreateSpeechAudioFileResponse) String added in v0.2.181

type ExtractTextFromSpeechRequest added in v0.2.180

type ExtractTextFromSpeechRequest struct {
	AudioFileId string `protobuf:"bytes,1,opt,name=audio_file_id,json=audioFileId,proto3" json:"audio_file_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ExtractTextFromSpeechRequest) Descriptor deprecated added in v0.2.180

func (*ExtractTextFromSpeechRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExtractTextFromSpeechRequest.ProtoReflect.Descriptor instead.

func (*ExtractTextFromSpeechRequest) GetAudioFileId added in v0.2.180

func (x *ExtractTextFromSpeechRequest) GetAudioFileId() string

func (*ExtractTextFromSpeechRequest) ProtoMessage added in v0.2.180

func (*ExtractTextFromSpeechRequest) ProtoMessage()

func (*ExtractTextFromSpeechRequest) ProtoReflect added in v0.2.180

func (*ExtractTextFromSpeechRequest) Reset added in v0.2.180

func (x *ExtractTextFromSpeechRequest) Reset()

func (*ExtractTextFromSpeechRequest) String added in v0.2.180

type ExtractTextFromSpeechResponse added in v0.2.180

type ExtractTextFromSpeechResponse struct {
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*ExtractTextFromSpeechResponse) Descriptor deprecated added in v0.2.180

func (*ExtractTextFromSpeechResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExtractTextFromSpeechResponse.ProtoReflect.Descriptor instead.

func (*ExtractTextFromSpeechResponse) GetText added in v0.2.180

func (*ExtractTextFromSpeechResponse) ProtoMessage added in v0.2.180

func (*ExtractTextFromSpeechResponse) ProtoMessage()

func (*ExtractTextFromSpeechResponse) ProtoReflect added in v0.2.180

func (*ExtractTextFromSpeechResponse) Reset added in v0.2.180

func (x *ExtractTextFromSpeechResponse) Reset()

func (*ExtractTextFromSpeechResponse) String added in v0.2.180

type Generate3DModelRequest added in v0.2.186

type Generate3DModelRequest struct {
	Prompt *PromptFor3DModel `protobuf:"bytes,1,opt,name=prompt,proto3" json:"prompt,omitempty"`
	// contains filtered or unexported fields
}

func (*Generate3DModelRequest) Descriptor deprecated added in v0.2.186

func (*Generate3DModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use Generate3DModelRequest.ProtoReflect.Descriptor instead.

func (*Generate3DModelRequest) GetPrompt added in v0.2.186

func (x *Generate3DModelRequest) GetPrompt() *PromptFor3DModel

func (*Generate3DModelRequest) ProtoMessage added in v0.2.186

func (*Generate3DModelRequest) ProtoMessage()

func (*Generate3DModelRequest) ProtoReflect added in v0.2.186

func (x *Generate3DModelRequest) ProtoReflect() protoreflect.Message

func (*Generate3DModelRequest) Reset added in v0.2.186

func (x *Generate3DModelRequest) Reset()

func (*Generate3DModelRequest) String added in v0.2.186

func (x *Generate3DModelRequest) String() string

type Generate3DModelResponse added in v0.2.186

type Generate3DModelResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*Generate3DModelResponse) Descriptor deprecated added in v0.2.186

func (*Generate3DModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use Generate3DModelResponse.ProtoReflect.Descriptor instead.

func (*Generate3DModelResponse) GetId added in v0.2.186

func (x *Generate3DModelResponse) GetId() string

func (*Generate3DModelResponse) ProtoMessage added in v0.2.186

func (*Generate3DModelResponse) ProtoMessage()

func (*Generate3DModelResponse) ProtoReflect added in v0.2.186

func (x *Generate3DModelResponse) ProtoReflect() protoreflect.Message

func (*Generate3DModelResponse) Reset added in v0.2.186

func (x *Generate3DModelResponse) Reset()

func (*Generate3DModelResponse) String added in v0.2.186

func (x *Generate3DModelResponse) String() string

type Generate3DModelTextureRequest added in v0.3.12

type Generate3DModelTextureRequest struct {
	Prompt *PromptFor3DModelTexture `protobuf:"bytes,1,opt,name=prompt,proto3" json:"prompt,omitempty"`
	// contains filtered or unexported fields
}

func (*Generate3DModelTextureRequest) Descriptor deprecated added in v0.3.12

func (*Generate3DModelTextureRequest) Descriptor() ([]byte, []int)

Deprecated: Use Generate3DModelTextureRequest.ProtoReflect.Descriptor instead.

func (*Generate3DModelTextureRequest) GetPrompt added in v0.3.12

func (*Generate3DModelTextureRequest) ProtoMessage added in v0.3.12

func (*Generate3DModelTextureRequest) ProtoMessage()

func (*Generate3DModelTextureRequest) ProtoReflect added in v0.3.12

func (*Generate3DModelTextureRequest) Reset added in v0.3.12

func (x *Generate3DModelTextureRequest) Reset()

func (*Generate3DModelTextureRequest) String added in v0.3.12

type Generate3DModelTextureResponse added in v0.3.12

type Generate3DModelTextureResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*Generate3DModelTextureResponse) Descriptor deprecated added in v0.3.12

func (*Generate3DModelTextureResponse) Descriptor() ([]byte, []int)

Deprecated: Use Generate3DModelTextureResponse.ProtoReflect.Descriptor instead.

func (*Generate3DModelTextureResponse) GetId added in v0.3.12

func (*Generate3DModelTextureResponse) ProtoMessage added in v0.3.12

func (*Generate3DModelTextureResponse) ProtoMessage()

func (*Generate3DModelTextureResponse) ProtoReflect added in v0.3.12

func (*Generate3DModelTextureResponse) Reset added in v0.3.12

func (x *Generate3DModelTextureResponse) Reset()

func (*Generate3DModelTextureResponse) String added in v0.3.12

type GenerateAudioRequest

type GenerateAudioRequest struct {
	Preset GenerateAudioRequest_Preset `protobuf:"varint,1,opt,name=preset,proto3,enum=basket.ai_service.v1.GenerateAudioRequest_Preset" json:"preset,omitempty"`
	Prompt string                      `protobuf:"bytes,2,opt,name=prompt,proto3" json:"prompt,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateAudioRequest) Descriptor deprecated

func (*GenerateAudioRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateAudioRequest.ProtoReflect.Descriptor instead.

func (*GenerateAudioRequest) GetPreset

func (*GenerateAudioRequest) GetPrompt

func (x *GenerateAudioRequest) GetPrompt() string

func (*GenerateAudioRequest) ProtoMessage

func (*GenerateAudioRequest) ProtoMessage()

func (*GenerateAudioRequest) ProtoReflect

func (x *GenerateAudioRequest) ProtoReflect() protoreflect.Message

func (*GenerateAudioRequest) Reset

func (x *GenerateAudioRequest) Reset()

func (*GenerateAudioRequest) String

func (x *GenerateAudioRequest) String() string

type GenerateAudioRequest_Preset

type GenerateAudioRequest_Preset int32
const (
	GenerateAudioRequest_PRESET_UNSPECIFIED GenerateAudioRequest_Preset = 0
	GenerateAudioRequest_PRESET_MUSIC       GenerateAudioRequest_Preset = 1
)

func (GenerateAudioRequest_Preset) Descriptor

func (GenerateAudioRequest_Preset) Enum

func (GenerateAudioRequest_Preset) EnumDescriptor deprecated

func (GenerateAudioRequest_Preset) EnumDescriptor() ([]byte, []int)

Deprecated: Use GenerateAudioRequest_Preset.Descriptor instead.

func (GenerateAudioRequest_Preset) Number

func (GenerateAudioRequest_Preset) String

func (GenerateAudioRequest_Preset) Type

type GenerateAudioResponse

type GenerateAudioResponse struct {
	AudioId  string `protobuf:"bytes,1,opt,name=audio_id,json=audioId,proto3" json:"audio_id,omitempty"`
	AudioUrl string `protobuf:"bytes,2,opt,name=audio_url,json=audioUrl,proto3" json:"audio_url,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateAudioResponse) Descriptor deprecated

func (*GenerateAudioResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateAudioResponse.ProtoReflect.Descriptor instead.

func (*GenerateAudioResponse) GetAudioId

func (x *GenerateAudioResponse) GetAudioId() string

func (*GenerateAudioResponse) GetAudioUrl

func (x *GenerateAudioResponse) GetAudioUrl() string

func (*GenerateAudioResponse) ProtoMessage

func (*GenerateAudioResponse) ProtoMessage()

func (*GenerateAudioResponse) ProtoReflect

func (x *GenerateAudioResponse) ProtoReflect() protoreflect.Message

func (*GenerateAudioResponse) Reset

func (x *GenerateAudioResponse) Reset()

func (*GenerateAudioResponse) String

func (x *GenerateAudioResponse) String() string

type GenerateImageRequest

type GenerateImageRequest struct {
	Preset GenerateImageRequest_Preset `protobuf:"varint,1,opt,name=preset,proto3,enum=basket.ai_service.v1.GenerateImageRequest_Preset" json:"preset,omitempty"`
	Prompt string                      `protobuf:"bytes,2,opt,name=prompt,proto3" json:"prompt,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateImageRequest) Descriptor deprecated

func (*GenerateImageRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateImageRequest.ProtoReflect.Descriptor instead.

func (*GenerateImageRequest) GetPreset

func (*GenerateImageRequest) GetPrompt

func (x *GenerateImageRequest) GetPrompt() string

func (*GenerateImageRequest) ProtoMessage

func (*GenerateImageRequest) ProtoMessage()

func (*GenerateImageRequest) ProtoReflect

func (x *GenerateImageRequest) ProtoReflect() protoreflect.Message

func (*GenerateImageRequest) Reset

func (x *GenerateImageRequest) Reset()

func (*GenerateImageRequest) String

func (x *GenerateImageRequest) String() string

type GenerateImageRequest_Preset

type GenerateImageRequest_Preset int32
const (
	GenerateImageRequest_PRESET_UNSPECIFIED GenerateImageRequest_Preset = 0
	GenerateImageRequest_PRESET_SKYBOX      GenerateImageRequest_Preset = 1
	GenerateImageRequest_PRESET_PICTURE     GenerateImageRequest_Preset = 2
	GenerateImageRequest_PRESET_TEXTURE     GenerateImageRequest_Preset = 3
)

func (GenerateImageRequest_Preset) Descriptor

func (GenerateImageRequest_Preset) Enum

func (GenerateImageRequest_Preset) EnumDescriptor deprecated

func (GenerateImageRequest_Preset) EnumDescriptor() ([]byte, []int)

Deprecated: Use GenerateImageRequest_Preset.Descriptor instead.

func (GenerateImageRequest_Preset) Number

func (GenerateImageRequest_Preset) String

func (GenerateImageRequest_Preset) Type

type GenerateImageResponse

type GenerateImageResponse struct {
	ImageId  string `protobuf:"bytes,1,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	ImageUrl string `protobuf:"bytes,2,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateImageResponse) Descriptor deprecated

func (*GenerateImageResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateImageResponse.ProtoReflect.Descriptor instead.

func (*GenerateImageResponse) GetImageId

func (x *GenerateImageResponse) GetImageId() string

func (*GenerateImageResponse) GetImageUrl

func (x *GenerateImageResponse) GetImageUrl() string

func (*GenerateImageResponse) ProtoMessage

func (*GenerateImageResponse) ProtoMessage()

func (*GenerateImageResponse) ProtoReflect

func (x *GenerateImageResponse) ProtoReflect() protoreflect.Message

func (*GenerateImageResponse) Reset

func (x *GenerateImageResponse) Reset()

func (*GenerateImageResponse) String

func (x *GenerateImageResponse) String() string

type GenerateTextForGameCharacterRequest added in v0.2.182

type GenerateTextForGameCharacterRequest struct {
	GameCharacterId *string `protobuf:"bytes,1,opt,name=game_character_id,json=gameCharacterId,proto3,oneof" json:"game_character_id,omitempty"`
	SessionId       *string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3,oneof" json:"session_id,omitempty"`
	Text            string  `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

GenerateTextForGameCharacterRequest is a message that requires either a game_character_id or a session_id to be specified.

func (*GenerateTextForGameCharacterRequest) Descriptor deprecated added in v0.2.182

func (*GenerateTextForGameCharacterRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateTextForGameCharacterRequest.ProtoReflect.Descriptor instead.

func (*GenerateTextForGameCharacterRequest) GetGameCharacterId added in v0.2.182

func (x *GenerateTextForGameCharacterRequest) GetGameCharacterId() string

func (*GenerateTextForGameCharacterRequest) GetSessionId added in v0.2.182

func (x *GenerateTextForGameCharacterRequest) GetSessionId() string

func (*GenerateTextForGameCharacterRequest) GetText added in v0.2.182

func (*GenerateTextForGameCharacterRequest) ProtoMessage added in v0.2.182

func (*GenerateTextForGameCharacterRequest) ProtoMessage()

func (*GenerateTextForGameCharacterRequest) ProtoReflect added in v0.2.182

func (*GenerateTextForGameCharacterRequest) Reset added in v0.2.182

func (*GenerateTextForGameCharacterRequest) String added in v0.2.182

type GenerateTextForGameCharacterResponse added in v0.2.182

type GenerateTextForGameCharacterResponse struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Text      string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateTextForGameCharacterResponse) Descriptor deprecated added in v0.2.182

func (*GenerateTextForGameCharacterResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateTextForGameCharacterResponse.ProtoReflect.Descriptor instead.

func (*GenerateTextForGameCharacterResponse) GetSessionId added in v0.2.182

func (x *GenerateTextForGameCharacterResponse) GetSessionId() string

func (*GenerateTextForGameCharacterResponse) GetText added in v0.2.182

func (*GenerateTextForGameCharacterResponse) ProtoMessage added in v0.2.182

func (*GenerateTextForGameCharacterResponse) ProtoMessage()

func (*GenerateTextForGameCharacterResponse) ProtoReflect added in v0.2.182

func (*GenerateTextForGameCharacterResponse) Reset added in v0.2.182

func (*GenerateTextForGameCharacterResponse) String added in v0.2.182

type GenerateTextRequest added in v0.2.175

type GenerateTextRequest struct {

	// If this is the first message in the session, then you don't need to specify anything.
	SessionId *string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3,oneof" json:"session_id,omitempty"`
	Text      string  `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateTextRequest) Descriptor deprecated added in v0.2.175

func (*GenerateTextRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateTextRequest.ProtoReflect.Descriptor instead.

func (*GenerateTextRequest) GetSessionId added in v0.2.175

func (x *GenerateTextRequest) GetSessionId() string

func (*GenerateTextRequest) GetText added in v0.2.175

func (x *GenerateTextRequest) GetText() string

func (*GenerateTextRequest) ProtoMessage added in v0.2.175

func (*GenerateTextRequest) ProtoMessage()

func (*GenerateTextRequest) ProtoReflect added in v0.2.175

func (x *GenerateTextRequest) ProtoReflect() protoreflect.Message

func (*GenerateTextRequest) Reset added in v0.2.175

func (x *GenerateTextRequest) Reset()

func (*GenerateTextRequest) String added in v0.2.175

func (x *GenerateTextRequest) String() string

type GenerateTextResponse added in v0.2.175

type GenerateTextResponse struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Text      string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateTextResponse) Descriptor deprecated added in v0.2.175

func (*GenerateTextResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateTextResponse.ProtoReflect.Descriptor instead.

func (*GenerateTextResponse) GetSessionId added in v0.2.175

func (x *GenerateTextResponse) GetSessionId() string

func (*GenerateTextResponse) GetText added in v0.2.175

func (x *GenerateTextResponse) GetText() string

func (*GenerateTextResponse) ProtoMessage added in v0.2.175

func (*GenerateTextResponse) ProtoMessage()

func (*GenerateTextResponse) ProtoReflect added in v0.2.175

func (x *GenerateTextResponse) ProtoReflect() protoreflect.Message

func (*GenerateTextResponse) Reset added in v0.2.175

func (x *GenerateTextResponse) Reset()

func (*GenerateTextResponse) String added in v0.2.175

func (x *GenerateTextResponse) String() string

type GenerateVoiceRequest added in v0.2.161

type GenerateVoiceRequest struct {
	Text         string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// Types that are assignable to GenderOption:
	//
	//	*GenerateVoiceRequest_Gender
	//	*GenerateVoiceRequest_ModelName
	GenderOption isGenerateVoiceRequest_GenderOption `protobuf_oneof:"gender_option"`
	// contains filtered or unexported fields
}

func (*GenerateVoiceRequest) Descriptor deprecated added in v0.2.161

func (*GenerateVoiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateVoiceRequest.ProtoReflect.Descriptor instead.

func (*GenerateVoiceRequest) GetGender added in v0.2.161

func (x *GenerateVoiceRequest) GetGender() VoiceModel_Gender

func (*GenerateVoiceRequest) GetGenderOption added in v0.2.161

func (m *GenerateVoiceRequest) GetGenderOption() isGenerateVoiceRequest_GenderOption

func (*GenerateVoiceRequest) GetLanguageCode added in v0.2.161

func (x *GenerateVoiceRequest) GetLanguageCode() string

func (*GenerateVoiceRequest) GetModelName added in v0.2.161

func (x *GenerateVoiceRequest) GetModelName() string

func (*GenerateVoiceRequest) GetText added in v0.2.161

func (x *GenerateVoiceRequest) GetText() string

func (*GenerateVoiceRequest) ProtoMessage added in v0.2.161

func (*GenerateVoiceRequest) ProtoMessage()

func (*GenerateVoiceRequest) ProtoReflect added in v0.2.161

func (x *GenerateVoiceRequest) ProtoReflect() protoreflect.Message

func (*GenerateVoiceRequest) Reset added in v0.2.161

func (x *GenerateVoiceRequest) Reset()

func (*GenerateVoiceRequest) String added in v0.2.161

func (x *GenerateVoiceRequest) String() string

type GenerateVoiceRequest_Gender added in v0.2.161

type GenerateVoiceRequest_Gender struct {
	Gender VoiceModel_Gender `protobuf:"varint,3,opt,name=gender,proto3,enum=basket.ai_service.v1.VoiceModel_Gender,oneof"`
}

type GenerateVoiceRequest_ModelName added in v0.2.161

type GenerateVoiceRequest_ModelName struct {
	ModelName string `protobuf:"bytes,4,opt,name=model_name,json=modelName,proto3,oneof"`
}

type GenerateVoiceResponse added in v0.2.161

type GenerateVoiceResponse struct {
	VoiceId  string `protobuf:"bytes,1,opt,name=voice_id,json=voiceId,proto3" json:"voice_id,omitempty"`
	VoiceUrl string `protobuf:"bytes,2,opt,name=voice_url,json=voiceUrl,proto3" json:"voice_url,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateVoiceResponse) Descriptor deprecated added in v0.2.161

func (*GenerateVoiceResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateVoiceResponse.ProtoReflect.Descriptor instead.

func (*GenerateVoiceResponse) GetVoiceId added in v0.2.161

func (x *GenerateVoiceResponse) GetVoiceId() string

func (*GenerateVoiceResponse) GetVoiceUrl added in v0.2.161

func (x *GenerateVoiceResponse) GetVoiceUrl() string

func (*GenerateVoiceResponse) ProtoMessage added in v0.2.161

func (*GenerateVoiceResponse) ProtoMessage()

func (*GenerateVoiceResponse) ProtoReflect added in v0.2.161

func (x *GenerateVoiceResponse) ProtoReflect() protoreflect.Message

func (*GenerateVoiceResponse) Reset added in v0.2.161

func (x *GenerateVoiceResponse) Reset()

func (*GenerateVoiceResponse) String added in v0.2.161

func (x *GenerateVoiceResponse) String() string

type GetGenerated3DModelResultRequest added in v0.2.190

type GetGenerated3DModelResultRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGenerated3DModelResultRequest) Descriptor deprecated added in v0.2.190

func (*GetGenerated3DModelResultRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetGenerated3DModelResultRequest.ProtoReflect.Descriptor instead.

func (*GetGenerated3DModelResultRequest) GetId added in v0.2.190

func (*GetGenerated3DModelResultRequest) ProtoMessage added in v0.2.190

func (*GetGenerated3DModelResultRequest) ProtoMessage()

func (*GetGenerated3DModelResultRequest) ProtoReflect added in v0.2.190

func (*GetGenerated3DModelResultRequest) Reset added in v0.2.190

func (*GetGenerated3DModelResultRequest) String added in v0.2.190

type GetGenerated3DModelResultResponse added in v0.2.190

type GetGenerated3DModelResultResponse struct {
	Status   GetGenerated3DModelResultResponse_Status `` /* 133-byte string literal not displayed */
	Progress uint32                                   `protobuf:"varint,2,opt,name=progress,proto3" json:"progress,omitempty"`
	Prompt   *PromptFor3DModel                        `protobuf:"bytes,3,opt,name=prompt,proto3" json:"prompt,omitempty"`
	Model    *GetGenerated3DModelResultResponse_Model `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"`
	Error    *string                                  `protobuf:"bytes,5,opt,name=error,proto3,oneof" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGenerated3DModelResultResponse) Descriptor deprecated added in v0.2.190

func (*GetGenerated3DModelResultResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetGenerated3DModelResultResponse.ProtoReflect.Descriptor instead.

func (*GetGenerated3DModelResultResponse) GetError added in v0.2.190

func (*GetGenerated3DModelResultResponse) GetModel added in v0.2.190

func (*GetGenerated3DModelResultResponse) GetProgress added in v0.2.190

func (x *GetGenerated3DModelResultResponse) GetProgress() uint32

func (*GetGenerated3DModelResultResponse) GetPrompt added in v0.2.190

func (*GetGenerated3DModelResultResponse) GetStatus added in v0.2.190

func (*GetGenerated3DModelResultResponse) ProtoMessage added in v0.2.190

func (*GetGenerated3DModelResultResponse) ProtoMessage()

func (*GetGenerated3DModelResultResponse) ProtoReflect added in v0.2.190

func (*GetGenerated3DModelResultResponse) Reset added in v0.2.190

func (*GetGenerated3DModelResultResponse) String added in v0.2.190

type GetGenerated3DModelResultResponse_Model added in v0.2.190

type GetGenerated3DModelResultResponse_Model struct {
	Id                  string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	GlbModelUrl         *string `protobuf:"bytes,2,opt,name=glb_model_url,json=glbModelUrl,proto3,oneof" json:"glb_model_url,omitempty"`
	ThumbnailUrl        *string `protobuf:"bytes,3,opt,name=thumbnail_url,json=thumbnailUrl,proto3,oneof" json:"thumbnail_url,omitempty"`
	BaseColorTextureUrl *string `` /* 128-byte string literal not displayed */
	NormalTextureUrl    *string `protobuf:"bytes,5,opt,name=normal_texture_url,json=normalTextureUrl,proto3,oneof" json:"normal_texture_url,omitempty"`
	RoughnessTextureUrl *string `` /* 126-byte string literal not displayed */
	MetallicTextureUrl  *string `protobuf:"bytes,7,opt,name=metallic_texture_url,json=metallicTextureUrl,proto3,oneof" json:"metallic_texture_url,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGenerated3DModelResultResponse_Model) Descriptor deprecated added in v0.2.190

func (*GetGenerated3DModelResultResponse_Model) Descriptor() ([]byte, []int)

Deprecated: Use GetGenerated3DModelResultResponse_Model.ProtoReflect.Descriptor instead.

func (*GetGenerated3DModelResultResponse_Model) GetBaseColorTextureUrl added in v0.2.190

func (x *GetGenerated3DModelResultResponse_Model) GetBaseColorTextureUrl() string

func (*GetGenerated3DModelResultResponse_Model) GetGlbModelUrl added in v0.2.190

func (x *GetGenerated3DModelResultResponse_Model) GetGlbModelUrl() string

func (*GetGenerated3DModelResultResponse_Model) GetId added in v0.2.190

func (*GetGenerated3DModelResultResponse_Model) GetMetallicTextureUrl added in v0.2.190

func (x *GetGenerated3DModelResultResponse_Model) GetMetallicTextureUrl() string

func (*GetGenerated3DModelResultResponse_Model) GetNormalTextureUrl added in v0.2.190

func (x *GetGenerated3DModelResultResponse_Model) GetNormalTextureUrl() string

func (*GetGenerated3DModelResultResponse_Model) GetRoughnessTextureUrl added in v0.2.190

func (x *GetGenerated3DModelResultResponse_Model) GetRoughnessTextureUrl() string

func (*GetGenerated3DModelResultResponse_Model) GetThumbnailUrl added in v0.2.190

func (x *GetGenerated3DModelResultResponse_Model) GetThumbnailUrl() string

func (*GetGenerated3DModelResultResponse_Model) ProtoMessage added in v0.2.190

func (*GetGenerated3DModelResultResponse_Model) ProtoReflect added in v0.2.190

func (*GetGenerated3DModelResultResponse_Model) Reset added in v0.2.190

func (*GetGenerated3DModelResultResponse_Model) String added in v0.2.190

type GetGenerated3DModelResultResponse_Status added in v0.2.190

type GetGenerated3DModelResultResponse_Status int32
const (
	GetGenerated3DModelResultResponse_STATUS_UNSPECIFIED GetGenerated3DModelResultResponse_Status = 0
	GetGenerated3DModelResultResponse_STATUS_PENDING     GetGenerated3DModelResultResponse_Status = 1
	GetGenerated3DModelResultResponse_STATUS_SUCCESS     GetGenerated3DModelResultResponse_Status = 2
	GetGenerated3DModelResultResponse_STATUS_FAILURE     GetGenerated3DModelResultResponse_Status = 3
)

func (GetGenerated3DModelResultResponse_Status) Descriptor added in v0.2.190

func (GetGenerated3DModelResultResponse_Status) Enum added in v0.2.190

func (GetGenerated3DModelResultResponse_Status) EnumDescriptor deprecated added in v0.2.190

func (GetGenerated3DModelResultResponse_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use GetGenerated3DModelResultResponse_Status.Descriptor instead.

func (GetGenerated3DModelResultResponse_Status) Number added in v0.2.190

func (GetGenerated3DModelResultResponse_Status) String added in v0.2.190

func (GetGenerated3DModelResultResponse_Status) Type added in v0.2.190

type GetGenerated3DModelTextureResultRequest added in v0.3.12

type GetGenerated3DModelTextureResultRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGenerated3DModelTextureResultRequest) Descriptor deprecated added in v0.3.12

func (*GetGenerated3DModelTextureResultRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetGenerated3DModelTextureResultRequest.ProtoReflect.Descriptor instead.

func (*GetGenerated3DModelTextureResultRequest) GetId added in v0.3.12

func (*GetGenerated3DModelTextureResultRequest) ProtoMessage added in v0.3.12

func (*GetGenerated3DModelTextureResultRequest) ProtoReflect added in v0.3.12

func (*GetGenerated3DModelTextureResultRequest) Reset added in v0.3.12

func (*GetGenerated3DModelTextureResultRequest) String added in v0.3.12

type GetGenerated3DModelTextureResultResponse added in v0.3.12

type GetGenerated3DModelTextureResultResponse struct {
	Status   GetGenerated3DModelTextureResultResponse_Status `` /* 140-byte string literal not displayed */
	Progress uint32                                          `protobuf:"varint,2,opt,name=progress,proto3" json:"progress,omitempty"`
	Prompt   *PromptFor3DModelTexture                        `protobuf:"bytes,3,opt,name=prompt,proto3" json:"prompt,omitempty"`
	Model    *GetGenerated3DModelTextureResultResponse_Model `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"`
	Error    *string                                         `protobuf:"bytes,5,opt,name=error,proto3,oneof" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGenerated3DModelTextureResultResponse) Descriptor deprecated added in v0.3.12

func (*GetGenerated3DModelTextureResultResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetGenerated3DModelTextureResultResponse.ProtoReflect.Descriptor instead.

func (*GetGenerated3DModelTextureResultResponse) GetError added in v0.3.12

func (*GetGenerated3DModelTextureResultResponse) GetModel added in v0.3.12

func (*GetGenerated3DModelTextureResultResponse) GetProgress added in v0.3.12

func (*GetGenerated3DModelTextureResultResponse) GetPrompt added in v0.3.12

func (*GetGenerated3DModelTextureResultResponse) GetStatus added in v0.3.12

func (*GetGenerated3DModelTextureResultResponse) ProtoMessage added in v0.3.12

func (*GetGenerated3DModelTextureResultResponse) ProtoReflect added in v0.3.12

func (*GetGenerated3DModelTextureResultResponse) Reset added in v0.3.12

func (*GetGenerated3DModelTextureResultResponse) String added in v0.3.12

type GetGenerated3DModelTextureResultResponse_Model added in v0.3.12

type GetGenerated3DModelTextureResultResponse_Model struct {
	Id                  string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	GlbModelUrl         *string `protobuf:"bytes,2,opt,name=glb_model_url,json=glbModelUrl,proto3,oneof" json:"glb_model_url,omitempty"`
	ThumbnailUrl        *string `protobuf:"bytes,3,opt,name=thumbnail_url,json=thumbnailUrl,proto3,oneof" json:"thumbnail_url,omitempty"`
	BaseColorTextureUrl *string `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetGenerated3DModelTextureResultResponse_Model) Descriptor deprecated added in v0.3.12

Deprecated: Use GetGenerated3DModelTextureResultResponse_Model.ProtoReflect.Descriptor instead.

func (*GetGenerated3DModelTextureResultResponse_Model) GetBaseColorTextureUrl added in v0.3.12

func (x *GetGenerated3DModelTextureResultResponse_Model) GetBaseColorTextureUrl() string

func (*GetGenerated3DModelTextureResultResponse_Model) GetGlbModelUrl added in v0.3.12

func (*GetGenerated3DModelTextureResultResponse_Model) GetId added in v0.3.12

func (*GetGenerated3DModelTextureResultResponse_Model) GetThumbnailUrl added in v0.3.12

func (*GetGenerated3DModelTextureResultResponse_Model) ProtoMessage added in v0.3.12

func (*GetGenerated3DModelTextureResultResponse_Model) ProtoReflect added in v0.3.12

func (*GetGenerated3DModelTextureResultResponse_Model) Reset added in v0.3.12

func (*GetGenerated3DModelTextureResultResponse_Model) String added in v0.3.12

type GetGenerated3DModelTextureResultResponse_Status added in v0.3.12

type GetGenerated3DModelTextureResultResponse_Status int32
const (
	GetGenerated3DModelTextureResultResponse_STATUS_UNSPECIFIED GetGenerated3DModelTextureResultResponse_Status = 0
	GetGenerated3DModelTextureResultResponse_STATUS_PENDING     GetGenerated3DModelTextureResultResponse_Status = 1
	GetGenerated3DModelTextureResultResponse_STATUS_SUCCESS     GetGenerated3DModelTextureResultResponse_Status = 2
	GetGenerated3DModelTextureResultResponse_STATUS_FAILURE     GetGenerated3DModelTextureResultResponse_Status = 3
)

func (GetGenerated3DModelTextureResultResponse_Status) Descriptor added in v0.3.12

func (GetGenerated3DModelTextureResultResponse_Status) Enum added in v0.3.12

func (GetGenerated3DModelTextureResultResponse_Status) EnumDescriptor deprecated added in v0.3.12

Deprecated: Use GetGenerated3DModelTextureResultResponse_Status.Descriptor instead.

func (GetGenerated3DModelTextureResultResponse_Status) Number added in v0.3.12

func (GetGenerated3DModelTextureResultResponse_Status) String added in v0.3.12

func (GetGenerated3DModelTextureResultResponse_Status) Type added in v0.3.12

type GetVoiceLanguagesRequest added in v0.2.161

type GetVoiceLanguagesRequest struct {
	// contains filtered or unexported fields
}

func (*GetVoiceLanguagesRequest) Descriptor deprecated added in v0.2.161

func (*GetVoiceLanguagesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetVoiceLanguagesRequest.ProtoReflect.Descriptor instead.

func (*GetVoiceLanguagesRequest) ProtoMessage added in v0.2.161

func (*GetVoiceLanguagesRequest) ProtoMessage()

func (*GetVoiceLanguagesRequest) ProtoReflect added in v0.2.161

func (x *GetVoiceLanguagesRequest) ProtoReflect() protoreflect.Message

func (*GetVoiceLanguagesRequest) Reset added in v0.2.161

func (x *GetVoiceLanguagesRequest) Reset()

func (*GetVoiceLanguagesRequest) String added in v0.2.161

func (x *GetVoiceLanguagesRequest) String() string

type GetVoiceLanguagesResponse added in v0.2.161

type GetVoiceLanguagesResponse struct {
	LanguageCodes []string `protobuf:"bytes,1,rep,name=language_codes,json=languageCodes,proto3" json:"language_codes,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVoiceLanguagesResponse) Descriptor deprecated added in v0.2.161

func (*GetVoiceLanguagesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetVoiceLanguagesResponse.ProtoReflect.Descriptor instead.

func (*GetVoiceLanguagesResponse) GetLanguageCodes added in v0.2.161

func (x *GetVoiceLanguagesResponse) GetLanguageCodes() []string

func (*GetVoiceLanguagesResponse) ProtoMessage added in v0.2.161

func (*GetVoiceLanguagesResponse) ProtoMessage()

func (*GetVoiceLanguagesResponse) ProtoReflect added in v0.2.161

func (*GetVoiceLanguagesResponse) Reset added in v0.2.161

func (x *GetVoiceLanguagesResponse) Reset()

func (*GetVoiceLanguagesResponse) String added in v0.2.161

func (x *GetVoiceLanguagesResponse) String() string

type GetVoiceModelsRequest added in v0.2.161

type GetVoiceModelsRequest struct {
	LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVoiceModelsRequest) Descriptor deprecated added in v0.2.161

func (*GetVoiceModelsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetVoiceModelsRequest.ProtoReflect.Descriptor instead.

func (*GetVoiceModelsRequest) GetLanguageCode added in v0.2.161

func (x *GetVoiceModelsRequest) GetLanguageCode() string

func (*GetVoiceModelsRequest) ProtoMessage added in v0.2.161

func (*GetVoiceModelsRequest) ProtoMessage()

func (*GetVoiceModelsRequest) ProtoReflect added in v0.2.161

func (x *GetVoiceModelsRequest) ProtoReflect() protoreflect.Message

func (*GetVoiceModelsRequest) Reset added in v0.2.161

func (x *GetVoiceModelsRequest) Reset()

func (*GetVoiceModelsRequest) String added in v0.2.161

func (x *GetVoiceModelsRequest) String() string

type GetVoiceModelsResponse added in v0.2.161

type GetVoiceModelsResponse struct {
	Models []*VoiceModel `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVoiceModelsResponse) Descriptor deprecated added in v0.2.161

func (*GetVoiceModelsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetVoiceModelsResponse.ProtoReflect.Descriptor instead.

func (*GetVoiceModelsResponse) GetModels added in v0.2.161

func (x *GetVoiceModelsResponse) GetModels() []*VoiceModel

func (*GetVoiceModelsResponse) ProtoMessage added in v0.2.161

func (*GetVoiceModelsResponse) ProtoMessage()

func (*GetVoiceModelsResponse) ProtoReflect added in v0.2.161

func (x *GetVoiceModelsResponse) ProtoReflect() protoreflect.Message

func (*GetVoiceModelsResponse) Reset added in v0.2.161

func (x *GetVoiceModelsResponse) Reset()

func (*GetVoiceModelsResponse) String added in v0.2.161

func (x *GetVoiceModelsResponse) String() string

type PromptFor3DModel added in v0.2.190

type PromptFor3DModel struct {

	// object_prompt should describe what kind of object the 3D model is.
	ObjectPrompt string `protobuf:"bytes,1,opt,name=object_prompt,json=objectPrompt,proto3" json:"object_prompt,omitempty"`
	// style_prompt should describe the style of the model.
	StylePrompt string `protobuf:"bytes,2,opt,name=style_prompt,json=stylePrompt,proto3" json:"style_prompt,omitempty"`
	// negative_prompt should describe what the model should not be.
	NegativePrompt *string `protobuf:"bytes,3,opt,name=negative_prompt,json=negativePrompt,proto3,oneof" json:"negative_prompt,omitempty"`
	// art_style describes the desired art style of the object. If not specified, the default is ART_STYLE_REALISTIC.
	ArtStyle PromptFor3DModel_ArtStyle `` /* 138-byte string literal not displayed */
	// resolution describes the desired resolution of the model. If not specified, the default is RESOLUTION_1024.
	Resolution PromptFor3DModel_Resolution `` /* 128-byte string literal not displayed */
	// enhance_prompts should be set to true if you want to enhance the prompts. If not specified, the default is false.
	EnhancePrompts bool `protobuf:"varint,6,opt,name=enhance_prompts,json=enhancePrompts,proto3" json:"enhance_prompts,omitempty"`
	// contains filtered or unexported fields
}

func (*PromptFor3DModel) Descriptor deprecated added in v0.2.190

func (*PromptFor3DModel) Descriptor() ([]byte, []int)

Deprecated: Use PromptFor3DModel.ProtoReflect.Descriptor instead.

func (*PromptFor3DModel) GetArtStyle added in v0.2.190

func (*PromptFor3DModel) GetEnhancePrompts added in v0.3.12

func (x *PromptFor3DModel) GetEnhancePrompts() bool

func (*PromptFor3DModel) GetNegativePrompt added in v0.2.190

func (x *PromptFor3DModel) GetNegativePrompt() string

func (*PromptFor3DModel) GetObjectPrompt added in v0.2.190

func (x *PromptFor3DModel) GetObjectPrompt() string

func (*PromptFor3DModel) GetResolution added in v0.2.190

func (x *PromptFor3DModel) GetResolution() PromptFor3DModel_Resolution

func (*PromptFor3DModel) GetStylePrompt added in v0.2.190

func (x *PromptFor3DModel) GetStylePrompt() string

func (*PromptFor3DModel) ProtoMessage added in v0.2.190

func (*PromptFor3DModel) ProtoMessage()

func (*PromptFor3DModel) ProtoReflect added in v0.2.190

func (x *PromptFor3DModel) ProtoReflect() protoreflect.Message

func (*PromptFor3DModel) Reset added in v0.2.190

func (x *PromptFor3DModel) Reset()

func (*PromptFor3DModel) String added in v0.2.190

func (x *PromptFor3DModel) String() string

type PromptFor3DModelTexture added in v0.3.12

type PromptFor3DModelTexture struct {

	// object_prompt should describe what kind of object the 3D model is.
	ObjectPrompt string `protobuf:"bytes,1,opt,name=object_prompt,json=objectPrompt,proto3" json:"object_prompt,omitempty"`
	// style_prompt should describe the style of the model.
	StylePrompt string `protobuf:"bytes,2,opt,name=style_prompt,json=stylePrompt,proto3" json:"style_prompt,omitempty"`
	// model_url should be the URL of the 3D model.
	ModelUrl string `protobuf:"bytes,3,opt,name=model_url,json=modelUrl,proto3" json:"model_url,omitempty"`
	// negative_prompt should describe what the model should not be.
	NegativePrompt *string `protobuf:"bytes,4,opt,name=negative_prompt,json=negativePrompt,proto3,oneof" json:"negative_prompt,omitempty"`
	// art_style describes the desired art style of the object. If not specified, the default is ART_STYLE_REALISTIC.
	ArtStyle *PromptFor3DModelTexture_ArtStyle `` /* 151-byte string literal not displayed */
	// resolution describes the desired resolution of the model. If not specified, the default is RESOLUTION_4096.
	Resolution *PromptFor3DModelTexture_Resolution `` /* 141-byte string literal not displayed */
	// enhance_prompts should be set to true if you want to enhance the prompts. If not specified, the default is false.
	EnhancePrompts bool `protobuf:"varint,7,opt,name=enhance_prompts,json=enhancePrompts,proto3" json:"enhance_prompts,omitempty"`
	// contains filtered or unexported fields
}

func (*PromptFor3DModelTexture) Descriptor deprecated added in v0.3.12

func (*PromptFor3DModelTexture) Descriptor() ([]byte, []int)

Deprecated: Use PromptFor3DModelTexture.ProtoReflect.Descriptor instead.

func (*PromptFor3DModelTexture) GetArtStyle added in v0.3.12

func (*PromptFor3DModelTexture) GetEnhancePrompts added in v0.3.12

func (x *PromptFor3DModelTexture) GetEnhancePrompts() bool

func (*PromptFor3DModelTexture) GetModelUrl added in v0.3.12

func (x *PromptFor3DModelTexture) GetModelUrl() string

func (*PromptFor3DModelTexture) GetNegativePrompt added in v0.3.12

func (x *PromptFor3DModelTexture) GetNegativePrompt() string

func (*PromptFor3DModelTexture) GetObjectPrompt added in v0.3.12

func (x *PromptFor3DModelTexture) GetObjectPrompt() string

func (*PromptFor3DModelTexture) GetResolution added in v0.3.12

func (*PromptFor3DModelTexture) GetStylePrompt added in v0.3.12

func (x *PromptFor3DModelTexture) GetStylePrompt() string

func (*PromptFor3DModelTexture) ProtoMessage added in v0.3.12

func (*PromptFor3DModelTexture) ProtoMessage()

func (*PromptFor3DModelTexture) ProtoReflect added in v0.3.12

func (x *PromptFor3DModelTexture) ProtoReflect() protoreflect.Message

func (*PromptFor3DModelTexture) Reset added in v0.3.12

func (x *PromptFor3DModelTexture) Reset()

func (*PromptFor3DModelTexture) String added in v0.3.12

func (x *PromptFor3DModelTexture) String() string

type PromptFor3DModelTexture_ArtStyle added in v0.3.12

type PromptFor3DModelTexture_ArtStyle int32
const (
	PromptFor3DModelTexture_ART_STYLE_UNSPECIFIED          PromptFor3DModelTexture_ArtStyle = 0
	PromptFor3DModelTexture_ART_STYLE_REALISTIC            PromptFor3DModelTexture_ArtStyle = 1
	PromptFor3DModelTexture_ART_STYLE_FAKE_3D_CARTOON      PromptFor3DModelTexture_ArtStyle = 2
	PromptFor3DModelTexture_ART_STYLE_JAPANESE_ANIME       PromptFor3DModelTexture_ArtStyle = 3
	PromptFor3DModelTexture_ART_STYLE_CARTOON_LINE_ART     PromptFor3DModelTexture_ArtStyle = 4
	PromptFor3DModelTexture_ART_STYLE_REALISTIC_HAND_DRAWN PromptFor3DModelTexture_ArtStyle = 5
	PromptFor3DModelTexture_ART_STYLE_FAKE_3D_HAND_DRAWN   PromptFor3DModelTexture_ArtStyle = 6
	PromptFor3DModelTexture_ART_STYLE_ORIENTAL_COMIC_INK   PromptFor3DModelTexture_ArtStyle = 7
)

func (PromptFor3DModelTexture_ArtStyle) Descriptor added in v0.3.12

func (PromptFor3DModelTexture_ArtStyle) Enum added in v0.3.12

func (PromptFor3DModelTexture_ArtStyle) EnumDescriptor deprecated added in v0.3.12

func (PromptFor3DModelTexture_ArtStyle) EnumDescriptor() ([]byte, []int)

Deprecated: Use PromptFor3DModelTexture_ArtStyle.Descriptor instead.

func (PromptFor3DModelTexture_ArtStyle) Number added in v0.3.12

func (PromptFor3DModelTexture_ArtStyle) String added in v0.3.12

func (PromptFor3DModelTexture_ArtStyle) Type added in v0.3.12

type PromptFor3DModelTexture_Resolution added in v0.3.12

type PromptFor3DModelTexture_Resolution int32
const (
	PromptFor3DModelTexture_RESOLUTION_UNSPECIFIED PromptFor3DModelTexture_Resolution = 0
	PromptFor3DModelTexture_RESOLUTION_1024        PromptFor3DModelTexture_Resolution = 1
	PromptFor3DModelTexture_RESOLUTION_2048        PromptFor3DModelTexture_Resolution = 2
	PromptFor3DModelTexture_RESOLUTION_4096        PromptFor3DModelTexture_Resolution = 3
)

func (PromptFor3DModelTexture_Resolution) Descriptor added in v0.3.12

func (PromptFor3DModelTexture_Resolution) Enum added in v0.3.12

func (PromptFor3DModelTexture_Resolution) EnumDescriptor deprecated added in v0.3.12

func (PromptFor3DModelTexture_Resolution) EnumDescriptor() ([]byte, []int)

Deprecated: Use PromptFor3DModelTexture_Resolution.Descriptor instead.

func (PromptFor3DModelTexture_Resolution) Number added in v0.3.12

func (PromptFor3DModelTexture_Resolution) String added in v0.3.12

func (PromptFor3DModelTexture_Resolution) Type added in v0.3.12

type PromptFor3DModel_ArtStyle added in v0.2.190

type PromptFor3DModel_ArtStyle int32
const (
	PromptFor3DModel_ART_STYLE_UNSPECIFIED          PromptFor3DModel_ArtStyle = 0
	PromptFor3DModel_ART_STYLE_REALISTIC            PromptFor3DModel_ArtStyle = 1
	PromptFor3DModel_ART_STYLE_VOXEL                PromptFor3DModel_ArtStyle = 2
	PromptFor3DModel_ART_STYLE_FAKE_3D_CARTOON      PromptFor3DModel_ArtStyle = 3
	PromptFor3DModel_ART_STYLE_JAPANESE_ANIME       PromptFor3DModel_ArtStyle = 4
	PromptFor3DModel_ART_STYLE_CARTOON_LINE_ART     PromptFor3DModel_ArtStyle = 5
	PromptFor3DModel_ART_STYLE_REALISTIC_HAND_DRAWN PromptFor3DModel_ArtStyle = 6
	PromptFor3DModel_ART_STYLE_FAKE_3D_HAND_DRAWN   PromptFor3DModel_ArtStyle = 7
	PromptFor3DModel_ART_STYLE_ORIENTAL_COMIC_INK   PromptFor3DModel_ArtStyle = 8
)

func (PromptFor3DModel_ArtStyle) Descriptor added in v0.2.190

func (PromptFor3DModel_ArtStyle) Enum added in v0.2.190

func (PromptFor3DModel_ArtStyle) EnumDescriptor deprecated added in v0.2.190

func (PromptFor3DModel_ArtStyle) EnumDescriptor() ([]byte, []int)

Deprecated: Use PromptFor3DModel_ArtStyle.Descriptor instead.

func (PromptFor3DModel_ArtStyle) Number added in v0.2.190

func (PromptFor3DModel_ArtStyle) String added in v0.2.190

func (x PromptFor3DModel_ArtStyle) String() string

func (PromptFor3DModel_ArtStyle) Type added in v0.2.190

type PromptFor3DModel_Resolution added in v0.2.190

type PromptFor3DModel_Resolution int32
const (
	PromptFor3DModel_RESOLUTION_UNSPECIFIED PromptFor3DModel_Resolution = 0
	PromptFor3DModel_RESOLUTION_1024        PromptFor3DModel_Resolution = 1
	PromptFor3DModel_RESOLUTION_2048        PromptFor3DModel_Resolution = 2
	PromptFor3DModel_RESOLUTION_4096        PromptFor3DModel_Resolution = 3
)

func (PromptFor3DModel_Resolution) Descriptor added in v0.2.190

func (PromptFor3DModel_Resolution) Enum added in v0.2.190

func (PromptFor3DModel_Resolution) EnumDescriptor deprecated added in v0.2.190

func (PromptFor3DModel_Resolution) EnumDescriptor() ([]byte, []int)

Deprecated: Use PromptFor3DModel_Resolution.Descriptor instead.

func (PromptFor3DModel_Resolution) Number added in v0.2.190

func (PromptFor3DModel_Resolution) String added in v0.2.190

func (PromptFor3DModel_Resolution) Type added in v0.2.190

type UnimplementedAIServiceServer

type UnimplementedAIServiceServer struct {
}

UnimplementedAIServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAIServiceServer) CreateSpeechAudioFile added in v0.2.181

func (UnimplementedAIServiceServer) ExtractTextFromSpeech added in v0.2.180

func (UnimplementedAIServiceServer) Generate3DModel added in v0.2.186

func (UnimplementedAIServiceServer) Generate3DModelTexture added in v0.3.12

func (UnimplementedAIServiceServer) GenerateAudio

func (UnimplementedAIServiceServer) GenerateImage

func (UnimplementedAIServiceServer) GenerateText added in v0.2.175

func (UnimplementedAIServiceServer) GenerateTextForGameCharacter added in v0.2.182

func (UnimplementedAIServiceServer) GenerateVoice added in v0.2.161

func (UnimplementedAIServiceServer) GetGenerated3DModelResult added in v0.2.190

func (UnimplementedAIServiceServer) GetGenerated3DModelTextureResult added in v0.3.12

func (UnimplementedAIServiceServer) GetVoiceLanguages added in v0.2.161

func (UnimplementedAIServiceServer) GetVoiceModels added in v0.2.161

type UnsafeAIServiceServer

type UnsafeAIServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAIServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AIServiceServer will result in compilation errors.

type VoiceModel added in v0.2.161

type VoiceModel struct {
	Name   string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Gender VoiceModel_Gender `protobuf:"varint,2,opt,name=gender,proto3,enum=basket.ai_service.v1.VoiceModel_Gender" json:"gender,omitempty"`
	// contains filtered or unexported fields
}

func (*VoiceModel) Descriptor deprecated added in v0.2.161

func (*VoiceModel) Descriptor() ([]byte, []int)

Deprecated: Use VoiceModel.ProtoReflect.Descriptor instead.

func (*VoiceModel) GetGender added in v0.2.161

func (x *VoiceModel) GetGender() VoiceModel_Gender

func (*VoiceModel) GetName added in v0.2.161

func (x *VoiceModel) GetName() string

func (*VoiceModel) ProtoMessage added in v0.2.161

func (*VoiceModel) ProtoMessage()

func (*VoiceModel) ProtoReflect added in v0.2.161

func (x *VoiceModel) ProtoReflect() protoreflect.Message

func (*VoiceModel) Reset added in v0.2.161

func (x *VoiceModel) Reset()

func (*VoiceModel) String added in v0.2.161

func (x *VoiceModel) String() string

type VoiceModel_Gender added in v0.2.161

type VoiceModel_Gender int32
const (
	VoiceModel_GENDER_UNSPECIFIED VoiceModel_Gender = 0
	VoiceModel_GENDER_MALE        VoiceModel_Gender = 1
	VoiceModel_GENDER_FEMALE      VoiceModel_Gender = 2
	VoiceModel_GENDER_NEUTRAL     VoiceModel_Gender = 3
)

func (VoiceModel_Gender) Descriptor added in v0.2.161

func (VoiceModel_Gender) Enum added in v0.2.161

func (VoiceModel_Gender) EnumDescriptor deprecated added in v0.2.161

func (VoiceModel_Gender) EnumDescriptor() ([]byte, []int)

Deprecated: Use VoiceModel_Gender.Descriptor instead.

func (VoiceModel_Gender) Number added in v0.2.161

func (VoiceModel_Gender) String added in v0.2.161

func (x VoiceModel_Gender) String() string

func (VoiceModel_Gender) Type added in v0.2.161

Directories

Path Synopsis
Package ai_mock is a generated GoMock package.
Package ai_mock is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL